===--- building phase 0 make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds Creating includes/ghcautoconf.h... Done. "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp "rm" -f utils/hsc2hs/dist/build/.depend.c_asm.tmp "/usr/bin/ghc" -M -static -H32m -O -package-db libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package base-4.6.0.0 -package containers-0.5.0.0 -package directory-1.2.0.0 -package filepath-1.3.0.1 -package process-1.1.0.2 -XHaskell98 -XCPP -XForeignFunctionInterface -no-user-package-db -rtsopts -odir utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir utils/hsc2hs/dist/build -hisuf hi -osuf o -hcsuf hc -dep-makefile utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./CrossCodegen.hs utils/hsc2hs/./UtilsCodegen.hs utils/hsc2hs/./Common.hs utils/hsc2hs/./C.hs utils/hsc2hs/./Flags.hs echo "utils/hsc2hs_dist_depfile_c_asm_EXISTS = YES" >> utils/hsc2hs/dist/build/.depend.c_asm.tmp mv utils/hsc2hs/dist/build/.depend.c_asm.tmp utils/hsc2hs/dist/build/.depend.c_asm echo "utils/hsc2hs_dist_depfile_haskell_EXISTS = YES" >> utils/hsc2hs/dist/build/.depend.haskell.tmp for dir in utils/hsc2hs/dist/build/./; do if test ! -d $dir; then mkdir -p $dir; fi done grep -v ' : [a-zA-Z]:/' utils/hsc2hs/dist/build/.depend.haskell.tmp > utils/hsc2hs/dist/build/.depend.haskell ===--- building phase 1 make -r --no-print-directory -f ghc.mk phase=1 phase_1_builds utils/unlit/ghc.mk:19: utils/unlit/dist/build/.depend.c_asm: No such file or directory utils/hp2ps/ghc.mk:25: utils/hp2ps/dist/build/.depend.c_asm: No such file or directory utils/genapply/ghc.mk:27: utils/genapply/dist/build/.depend.haskell: No such file or directory utils/genapply/ghc.mk:27: utils/genapply/dist/build/.depend.c_asm: No such file or directory libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/build/.depend-v.haskell: No such file or directory libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/build/.depend-v.c_asm: No such file or directory libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/build/.depend-v.haskell: No such file or directory libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/build/.depend-v.c_asm: No such file or directory libraries/binary/ghc.mk:3: libraries/binary/dist-boot/build/.depend-v.haskell: No such file or directory libraries/binary/ghc.mk:3: libraries/binary/dist-boot/build/.depend-v.c_asm: No such file or directory libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-boot/build/.depend-v.haskell: No such file or directory libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-boot/build/.depend-v.c_asm: No such file or directory libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/build/.depend-v.haskell: No such file or directory libraries/hoopl/ghc.mk:3: libraries/hoopl/dist-boot/build/.depend-v.c_asm: No such file or directory libraries/transformers/ghc.mk:3: libraries/transformers/dist-boot/build/.depend-v.haskell: No such file or directory compiler/ghc.mk:439: compiler/stage1/build/.depend-v.haskell: No such file or directory "rm" -f ghc/stage1/build/.depend.c_asm.tmp "rm" -f compiler/stage1/ghc_boot_platform.h echo "ghc_stage1_depfile_c_asm_EXISTS = YES" >> ghc/stage1/build/.depend.c_asm.tmp "rm" -f utils/deriveConstants/dist/build/.depend.c_asm.tmp "rm" -f utils/deriveConstants/dist/build/.depend.haskell.tmp "rm" -f compiler/stage1/build/.depend-v.c_asm.tmp Creating compiler/stage1/ghc_boot_platform.h... mv ghc/stage1/build/.depend.c_asm.tmp ghc/stage1/build/.depend.c_asm echo "utils/deriveConstants_dist_depfile_c_asm_EXISTS = YES" >> utils/deriveConstants/dist/build/.depend.c_asm.tmp "/usr/bin/ghc" -M -static -H32m -O -package process -package containers -package-db libraries/bootstrapping.conf -i -iutils/deriveConstants/. -iutils/deriveConstants/dist/build -iutils/deriveConstants/dist/build/autogen -Iutils/deriveConstants/dist/build -Iutils/deriveConstants/dist/build/autogen -no-user-package-db -rtsopts -odir utils/deriveConstants/dist/build -hidir utils/deriveConstants/dist/build -stubdir utils/deriveConstants/dist/build -hisuf hi -osuf o -hcsuf hc -dep-makefile utils/deriveConstants/dist/build/.depend.haskell.tmp -dep-suffix "" -include-pkg-deps utils/deriveConstants/./DeriveConstants.hs gcc -E -DMAKING_GHC_BUILD_SYSTEM_DEPENDENCIES -fno-stack-protector -Icompiler/stage1 -Icompiler/. -Icompiler/parser -Icompiler/utils -isystem'/usr/lib/ghc-7.6.1/process-1.1.0.2/include' -isystem'/usr/lib/ghc-7.6.1/directory-1.2.0.0/include' -isystem'/usr/lib/ghc-7.6.1/unix-2.6.0.0/include' -isystem'/usr/lib/ghc-7.6.1/time-1.4.0.1/include' -isystem'/usr/lib/ghc-7.6.1/bytestring-0.10.0.0/include' -isystem'/usr/lib/ghc-7.6.1/base-4.6.0.0/include' -isystem'/usr/lib/ghc-7.6.1/include' -MM compiler/ghci/keepCAFsForGHCi.c -MF compiler/stage1/build/.depend-v.c_asm.bit "inplace/bin/hsc2hs" --cc=/home/atondwal/Downloads/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --ld=/home/atondwal/Downloads/android-ndk-r8d/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --cross-safe --cflag=-fno-stack-protector --cross-compile --cflag=-D__GLASGOW_HASKELL__=706 --cflag=-Dx86_64_HOST_ARCH=1 --cflag=-Dlinux_HOST_OS=1 '--cflag=-fno-stack-protector' '--cflag=-Icompiler/stage1' '--cflag=-Icompiler/.' '--cflag=-Icompiler/parser' '--cflag=-Icompiler/utils' '--cflag=-isystem/usr/lib/ghc-7.6.1/process-1.1.0.2/include' '--cflag=-isystem/usr/lib/ghc-7.6.1/directory-1.2.0.0/include' '--cflag=-isystem/usr/lib/ghc-7.6.1/unix-2.6.0.0/include' '--cflag=-isystem/usr/lib/ghc-7.6.1/time-1.4.0.1/include' '--cflag=-isystem/usr/lib/ghc-7.6.1/bytestring-0.10.0.0/include' '--cflag=-isystem/usr/lib/ghc-7.6.1/base-4.6.0.0/include' '--cflag=-isystem/usr/lib/ghc-7.6.1/include' '--lflag=-Wl,--hash-size=31' '--lflag=-Wl,--reduce-memory-overheads' '--lflag=-L/home/atondwal/git/ghc/libraries/transformers/dist-boot/build' '--lflag=-L/home/atondwal/git/ghc/libraries/hpc/dist-boot/build' '--lflag=-L/home/atondwal/git/ghc/libraries/hoopl/dist-boot/build' '--lflag=-L/home/atondwal/git/ghc/libraries/bin-package-db/dist-boot/build' '--lflag=-L/home/atondwal/git/ghc/libraries/binary/dist-boot/build' '--lflag=-L/home/atondwal/git/ghc/libraries/Cabal/Cabal/dist-boot/build' '--lflag=-L/usr/lib/ghc-7.6.1/process-1.1.0.2' '--lflag=-L/usr/lib/ghc-7.6.1/pretty-1.1.1.0' '--lflag=-L/usr/lib/ghc-7.6.1/directory-1.2.0.0' '--lflag=-L/usr/lib/ghc-7.6.1/unix-2.6.0.0' '--lflag=-L/usr/lib/ghc-7.6.1/time-1.4.0.1' '--lflag=-L/usr/lib/ghc-7.6.1/old-locale-1.0.0.5' '--lflag=-L/usr/lib/ghc-7.6.1/filepath-1.3.0.1' '--lflag=-L/usr/lib/ghc-7.6.1/containers-0.5.0.0' '--lflag=-L/usr/lib/ghc-7.6.1/bytestring-0.10.0.0' '--lflag=-L/usr/lib/ghc-7.6.1/deepseq-1.3.0.1' '--lflag=-L/usr/lib/ghc-7.6.1/array-0.4.0.1' '--lflag=-L/usr/lib/ghc-7.6.1/base-4.6.0.0' '--lflag=-L/usr/lib/ghc-7.6.1/integer-gmp-0.5.0.0' '--lflag=-L/usr/lib/ghc-7.6.1/ghc-prim-0.3.0.0' '--lflag=-L/usr/lib/ghc-7.6.1' '--lflag=-lrt' '--lflag=-lutil' '--lflag=-ldl' '--lflag=-lpthread' '--lflag=-lgmp' '--lflag=-lm' '--lflag=-lrt' '--lflag=-ldl' --cflag=-Icompiler/stage1/build/autogen --cflag=-include --cflag=compiler/stage1/build/autogen/cabal_macros.h compiler/utils/Fingerprint.hsc -o compiler/stage1/build/Fingerprint.hs mv utils/deriveConstants/dist/build/.depend.c_asm.tmp utils/deriveConstants/dist/build/.depend.c_asm "/usr/bin/ghc" -o utils/deriveConstants/dist/build/tmp/deriveConstants -static -H32m -O -package process -package containers -package-db libraries/bootstrapping.conf -i -iutils/deriveConstants/. -iutils/deriveConstants/dist/build -iutils/deriveConstants/dist/build/autogen -Iutils/deriveConstants/dist/build -Iutils/deriveConstants/dist/build/autogen -no-user-package-db -rtsopts -odir utils/deriveConstants/dist/build -hidir utils/deriveConstants/dist/build -stubdir utils/deriveConstants/dist/build -hisuf hi -osuf o -hcsuf hc utils/deriveConstants/dist/build/DeriveConstants.o "/usr/bin/ghc" -static -H32m -O -package-db libraries/bootstrapping.conf -i -iutils/genprimopcode/. -iutils/genprimopcode/dist/build -iutils/genprimopcode/dist/build/autogen -Iutils/genprimopcode/dist/build -Iutils/genprimopcode/dist/build/autogen -package array -no-user-package-db -rtsopts -odir utils/genprimopcode/dist/build -hidir utils/genprimopcode/dist/build -stubdir utils/genprimopcode/dist/build -hisuf hi -osuf o -hcsuf hc -c utils/genprimopcode/dist/build/Lexer.hs -o utils/genprimopcode/dist/build/Lexer.o sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|compiler/ghci/|" -e "1s|compiler/|compiler/stage1/build/|" -e "1s|stage1/build/stage1/build|stage1/build|g" -e "s|/home/atondwal/git/ghc/||g" compiler/stage1/build/.depend-v.c_asm.bit >> compiler/stage1/build/.depend-v.c_asm.tmp && true "rm" -f libraries/transformers/dist-boot/build/.depend-v.c_asm.tmp In file included from /home/atondwal/git/ghc/includes/HsFFI.h:21, from compiler/utils/md5.h:5, from Fingerprint.hsc:18: /home/atondwal/git/ghc/includes/stg/Types.h:67:2: error: #error GHC untested on this architecture: sizeof(int) != 4 /home/atondwal/git/ghc/includes/stg/Types.h:83:2: error: #error cannot find a way to define StgInt64 In file included from /home/atondwal/git/ghc/includes/HsFFI.h:21, from compiler/utils/md5.h:5, from Fingerprint.hsc:18: /home/atondwal/git/ghc/includes/stg/Types.h:86: error: expected specifier-qualifier-list before 'StgWord64' /home/atondwal/git/ghc/includes/stg/Types.h:111:2: error: #error GHC untested on this architecture: sizeof(void *) != 4 or 8 /home/atondwal/git/ghc/includes/stg/Types.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'StgChar' /home/atondwal/git/ghc/includes/stg/Types.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /home/atondwal/git/ghc/includes/stg/Types.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile' /home/atondwal/git/ghc/includes/stg/Types.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'StgOffset' In file included from compiler/utils/md5.h:5, from Fingerprint.hsc:18: /home/atondwal/git/ghc/includes/HsFFI.h:30:20: error: stdint.h: No such file or directory In file included from compiler/utils/md5.h:5, from Fingerprint.hsc:18: /home/atondwal/git/ghc/includes/HsFFI.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsChar' /home/atondwal/git/ghc/includes/HsFFI.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsInt' /home/atondwal/git/ghc/includes/HsFFI.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsInt32' /home/atondwal/git/ghc/includes/HsFFI.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsInt64' /home/atondwal/git/ghc/includes/HsFFI.h:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsWord' /home/atondwal/git/ghc/includes/HsFFI.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsWord32' /home/atondwal/git/ghc/includes/HsFFI.h:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsWord64' /home/atondwal/git/ghc/includes/HsFFI.h:83: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'HsBool' /home/atondwal/git/ghc/includes/HsFFI.h:109:2: error: #error GHC untested on this architecture: sizeof(void *) != 4 or 8 In file included from Fingerprint.hsc:18: compiler/utils/md5.h:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'word32' compiler/utils/md5.h:11: error: expected specifier-qualifier-list before 'word32' compiler/utils/md5.h:19: error: expected ')' before 'buf' compilation failed make[1]: *** [compiler/stage1/build/Fingerprint.hs] Error 1 make[1]: *** Waiting for unfinished jobs.... echo "libraries/transformers_dist-boot_depfile_c_asm_EXISTS = YES" >> libraries/transformers/dist-boot/build/.depend-v.c_asm.tmp "rm" -f compiler/stage1/build/.depend-v.c_asm.bit mv libraries/transformers/dist-boot/build/.depend-v.c_asm.tmp libraries/transformers/dist-boot/build/.depend-v.c_asm echo "compiler_stage1_depfile_c_asm_EXISTS = YES" >> compiler/stage1/build/.depend-v.c_asm.tmp mv compiler/stage1/build/.depend-v.c_asm.tmp compiler/stage1/build/.depend-v.c_asm echo "utils/deriveConstants_dist_depfile_haskell_EXISTS = YES" >> utils/deriveConstants/dist/build/.depend.haskell.tmp for dir in utils/deriveConstants/dist/build/./; do if test ! -d $dir; then mkdir -p $dir; fi done grep -v ' : [a-zA-Z]:/' utils/deriveConstants/dist/build/.depend.haskell.tmp > utils/deriveConstants/dist/build/.depend.haskell Done. make: *** [all] Error 2