Skip to content

Instantly share code, notes, and snippets.

@blakesmith
Created October 31, 2013 01:08
Show Gist options
  • Save blakesmith/7242972 to your computer and use it in GitHub Desktop.
Save blakesmith/7242972 to your computer and use it in GitHub Desktop.
blake@Blake-Smiths-MacBook-Pro:~/src/ghc » ./configure --target=arm-linux-gnueabihf --enable-unregisterised
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for GHC version date... inferred 7.7.20131029
checking for ghc... /usr/bin/ghc
checking version of ghc... 7.4.2
checking build system type... x86_64-apple-darwin12.5.0
checking host system type... x86_64-apple-darwin12.5.0
checking target system type... arm-unknown-linux-gnueabihf
Build platform inferred as: x86_64-apple-darwin
Host platform inferred as: x86_64-apple-darwin
GHC build : x86_64-apple-darwin
GHC host : x86_64-apple-darwin
GHC target : arm-unknown-linux
configure: Building in-tree ghc-pwd
checking for path to top of build tree... /Users/blake/src/ghc
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for gcc... /usr/bin/gcc
checking for arm-linux-gnueabihf-ld... /Users/blake/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ld
checking for arm-linux-gnueabihf-nm... /Users/blake/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-nm
checking for llc... no
checking for opt... no
checking whether #! works in shell scripts... yes
checking for perl... /usr/bin/perl
checking version of gcc... 4.2.1
checking whether C compiler is clang... no
checking whether C compiler has an LLVM back end... yes
checking whether ld is GNU ld... no
checking whether ld understands --build-id... no
checking whether ld understands -no_compact_unwind... no
checking whether ld understands -filelist... no
checking Setting up CFLAGS, LDFLAGS, IGNORE_LINKER_LD_FLAGS and CPPFLAGS... done
checking Setting up CONF_CC_OPTS_STAGE0, CONF_GCC_LINKER_OPTS_STAGE0, CONF_LD_LINKER_OPTS_STAGE0 and CONF_CPP_OPTS_STAGE0... done
checking Setting up CONF_CC_OPTS_STAGE1, CONF_GCC_LINKER_OPTS_STAGE1, CONF_LD_LINKER_OPTS_STAGE1 and CONF_CPP_OPTS_STAGE1... done
checking Setting up CONF_CC_OPTS_STAGE2, CONF_GCC_LINKER_OPTS_STAGE2, CONF_LD_LINKER_OPTS_STAGE2 and CONF_CPP_OPTS_STAGE2... done
checking for extra options to pass gcc when compiling via C... -fwrapv
checking how to run the C preprocessor... gcc -E
checking for .subsections_via_symbols... yes
checking whether your assembler supports .ident directive... yes
checking for GNU non-executable stack support... no
checking for a working context diff... diff -U 1
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... /usr/bin/ar
checking whether /usr/bin/ar is GNU ar... no
checking for ar arguments... clqs
checking whether /usr/bin/ar supports @file... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking whether ln -s works... yes
checking for gsed... no
checking for sed... /usr/bin/sed
checking for time... /usr/bin/time
checking for gnutar... /usr/bin/gnutar
checking for gpatch... no
checking for patch... /usr/bin/patch
checking for dtrace... /usr/sbin/dtrace
checking for HsColour... /Users/blake/.cabal/bin/HsColour
checking for xmllint... /usr/bin/xmllint
checking for DocBook DTD... I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
conftest.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
]>
^
conftest.xml:6: element book: validity error : No declaration for attribute id of element book
<book id="test">
^
conftest-book.xml:2: parser error : Entity 'ldquo' not defined
<title>A DocBook &ldquo;Test Document&rdquo;</title>
^
conftest-book.xml:2: parser error : Entity 'rdquo' not defined
<title>A DocBook &ldquo;Test Document&rdquo;</title>
^
conftest-book.xml:11: parser error : chunk is not well balanced
^
conftest.xml:7: parser error : Failure to process entity conftest-book
&conftest-book;
^
conftest.xml:7: parser error : Entity 'conftest-book' not defined
&conftest-book;
^
failed
configure: WARNING: cannot find a DTD for DocBook XML V4.5, you will not be able to validate your documentation
configure: WARNING: check your XML_CATALOG_FILES environment variable and/or /etc/xml/catalog
checking for xsltproc... /usr/bin/xsltproc
checking for DocBook XSL stylesheet... no
configure: WARNING: cannot find DocBook XSL stylesheets, you will not be able to build the documentation
checking for dblatex... no
configure: WARNING: cannot find dblatex in your PATH, you will not be able to build the PDF and PS documentation
checking for ghc-pkg matching /usr/bin/ghc... /usr/bin/ghc-pkg
checking for happy... /usr/bin/happy
checking for version of happy... 1.19.0
checking for alex... /usr/bin/alex
checking for version of alex... 3.1.0
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking bfd.h usability... no
checking bfd.h presence... no
checking for bfd.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/timers.h usability... no
checking sys/timers.h presence... no
checking for sys/timers.h... no
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for sys/cpuset.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for long long... yes
checking size of char... 1
checking size of double... 8
checking size of float... 4
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of short... 2
checking size of unsigned char... 1
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking size of unsigned short... 2
checking size of void *... 8
checking for char... yes
checking alignment of char... 1
checking for double... yes
checking alignment of double... 8
checking for float... yes
checking alignment of float... 4
checking for int... yes
checking alignment of int... 4
checking for long... yes
checking alignment of long... 8
checking for long long... (cached) yes
checking alignment of long long... 8
checking for short... yes
checking alignment of short... 2
checking for unsigned char... yes
checking alignment of unsigned char... 1
checking for unsigned int... yes
checking alignment of unsigned int... 4
checking for unsigned long... yes
checking alignment of unsigned long... 8
checking for unsigned long long... yes
checking alignment of unsigned long long... 8
checking for unsigned short... yes
checking alignment of unsigned short... 2
checking for void *... yes
checking alignment of void *... 8
checking for WinExec... no
checking for GetModuleFileName... no
checking return type of signal handlers... void
checking for getclock... no
checking for getrusage... yes
checking for gettimeofday... yes
checking for setitimer... yes
checking for siginterrupt... yes
checking for sysconf... yes
checking for times... yes
checking for ctime_r... yes
checking for sched_setaffinity... no
checking for setlocale... yes
checking whether ctime_r is declared... yes
checking for closedir in -lmingwex... no
checking for atan in -lm... yes
checking for xmalloc in -liberty... no
checking for bfd_uncompress_section_contents in -lbfd... no
checking for dlopen in -ldl... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking whether float word order is big endian... no
checking for nlist in -lelf... no
checking leading underscore in symbol names... yes
checking whether __attribute__((visibility("hidden"))) is supported... yes
checking for clock_gettime in -lrt... no
checking for clock_gettime... no
checking for timer_settime... no
checking for timer_create... no
checking for printf$LDBLStub... no
checking sys/eventfd.h usability... no
checking sys/eventfd.h presence... no
checking for sys/eventfd.h... no
checking for eventfd... no
checking for PAPI_library_init in -lpapi... no
checking papi.h usability... no
checking papi.h presence... no
checking for papi.h... no
checking for __mingw_vfprintf... no
configure: creating ./config.status
config.status: creating mk/config.mk
config.status: creating mk/install.mk
config.status: creating mk/project.mk
config.status: creating compiler/ghc.cabal
config.status: creating ghc/ghc-bin.cabal
config.status: creating utils/runghc/runghc.cabal
config.status: creating settings
config.status: creating docs/users_guide/ug-book.xml
config.status: creating docs/users_guide/ug-ent.xml
config.status: creating docs/index.html
config.status: creating libraries/prologue.txt
config.status: creating distrib/configure.ac
config.status: creating mk/config.h
----------------------------------------------------------------------
Configure completed successfully.
Building GHC version : 7.7.20131029
Build platform : x86_64-apple-darwin
Host platform : x86_64-apple-darwin
Target platform : arm-unknown-linux
Bootstrapping using : /usr/bin/ghc
which is version : 7.4.2
Using llvm-gcc : /usr/bin/gcc
which is version : 4.2.1
Building a cross compiler : YES
ld : /Users/blake/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-ld
Happy : /usr/bin/happy (1.19.0)
Alex : /usr/bin/alex (3.1.0)
Perl : /usr/bin/perl
dblatex :
xsltproc : /usr/bin/xsltproc
Using LLVM tools
llc :
opt :
HsColour : /Users/blake/.cabal/bin/HsColour
Building DocBook HTML documentation : NO
Building DocBook PS documentation : NO
Building DocBook PDF documentation : NO
----------------------------------------------------------------------
For a standard build of GHC (fully optimised with profiling), type (g)make.
To make changes to the default build configuration, copy the file
mk/build.mk.sample to mk/build.mk, and edit the settings in there.
For more information on how to configure your GHC build, see
http://ghc.haskell.org/trac/ghc/wiki/Building
blake@Blake-Smiths-MacBook-Pro:~/src/ghc » make
+ test -f mk/config.mk.old
+ cp -p mk/config.mk mk/config.mk.old
touch -r mk/config.mk.old mk/config.mk
+ test -f mk/project.mk.old
+ cp -p mk/project.mk mk/project.mk.old
touch -r mk/project.mk.old mk/project.mk
+ test -f compiler/ghc.cabal.old
+ cp -p compiler/ghc.cabal compiler/ghc.cabal.old
touch -r compiler/ghc.cabal.old compiler/ghc.cabal
===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
ghc.mk:685: libraries/ghc-prim/ghc.mk: No such file or directory
ghc.mk:685: libraries/integer-gmp/ghc.mk: No such file or directory
ghc.mk:685: libraries/base/ghc.mk: No such file or directory
ghc.mk:685: libraries/filepath/ghc.mk: No such file or directory
ghc.mk:685: libraries/array/ghc.mk: No such file or directory
ghc.mk:685: libraries/deepseq/ghc.mk: No such file or directory
ghc.mk:685: libraries/bytestring/ghc.mk: No such file or directory
ghc.mk:685: libraries/containers/ghc.mk: No such file or directory
ghc.mk:685: libraries/old-locale/ghc.mk: No such file or directory
ghc.mk:685: libraries/time/ghc.mk: No such file or directory
ghc.mk:685: libraries/unix/ghc.mk: No such file or directory
ghc.mk:685: libraries/directory/ghc.mk: No such file or directory
ghc.mk:685: libraries/process/ghc.mk: No such file or directory
ghc.mk:685: libraries/hpc/ghc.mk: No such file or directory
ghc.mk:685: libraries/pretty/ghc.mk: No such file or directory
ghc.mk:685: libraries/template-haskell/ghc.mk: No such file or directory
ghc.mk:685: libraries/Cabal/Cabal/ghc.mk: No such file or directory
ghc.mk:685: libraries/binary/ghc.mk: No such file or directory
ghc.mk:685: libraries/bin-package-db/ghc.mk: No such file or directory
ghc.mk:685: libraries/hoopl/ghc.mk: No such file or directory
ghc.mk:685: libraries/transformers/ghc.mk: No such file or directory
ghc.mk:685: libraries/xhtml/ghc.mk: No such file or directory
ghc.mk:685: libraries/terminfo/ghc.mk: No such file or directory
ghc.mk:685: libraries/haskeline/ghc.mk: No such file or directory
compiler/ghc.mk:471: compiler/stage1/package-data.mk: No such file or directory
utils/hsc2hs/ghc.mk:15: utils/hsc2hs/dist/package-data.mk: No such file or directory
utils/ghc-pkg/ghc.mk:46: utils/ghc-pkg/dist/package-data.mk: No such file or directory
utils/ghc-cabal/ghc.mk:67: *** ordering failure in utils/ghc-cabal (dist-install): ALL_STAGE1_LIBS is empty. Stop.
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment