Ticket #4357: nohup.out

File nohup.out, 29.5 KB (added by fw, 4 years ago)
Line 
1+ test -f mk/config.mk.old
2+ cp -p mk/config.mk mk/config.mk.old
3touch -r mk/config.mk.old mk/config.mk
4+ test -f mk/project.mk.old
5+ cp -p mk/project.mk mk/project.mk.old
6touch -r mk/project.mk.old mk/project.mk
7+ test -f compiler/ghc.cabal.old
8+ cp -p compiler/ghc.cabal compiler/ghc.cabal.old
9touch -r compiler/ghc.cabal.old compiler/ghc.cabal
10===--- updating makefiles phase 0
11make -r --no-print-directory -f ghc.mk phase=0 just-makefiles
12utils/unlit/ghc.mk:18: utils/unlit/dist/build/.depend.c_asm: No such file or directory
13utils/hp2ps/ghc.mk:24: utils/hp2ps/dist/build/.depend.c_asm: No such file or directory
14utils/genprimopcode/ghc.mk:16: utils/genprimopcode/dist/build/.depend.haskell: No such file or directory
15utils/genprimopcode/ghc.mk:16: utils/genprimopcode/dist/build/.depend.c_asm: No such file or directory
16includes/ghc.mk:130: includes/dist-derivedconstants/build/.depend.c_asm: No such file or directory
17includes/ghc.mk:159: includes/dist-ghcconstants/build/.depend.c_asm: No such file or directory
18rts/ghc.mk:431: rts/dist/build/.depend-v-p-dyn-l-debug-thr-thr_debug-thr_l-thr_p-debug_dyn-thr_dyn-thr_debug_dyn.c_asm: No such file or directory
19utils/ghc-cabal/ghc.mk:93: utils/ghc-cabal/dist-dummy-ghc/build/.depend.haskell: No such file or directory
20utils/ghc-cabal/ghc.mk:93: utils/ghc-cabal/dist-dummy-ghc/build/.depend.c_asm: No such file or directory
21utils/genapply/ghc.mk:26: utils/genapply/dist/build/.depend.haskell: No such file or directory
22utils/genapply/ghc.mk:26: utils/genapply/dist/build/.depend.c_asm: No such file or directory
23utils/haddock/ghc.mk:29: utils/haddock/dist/package-data.mk: No such file or directory
24libraries/ghc-prim/ghc.mk:3: libraries/ghc-prim/dist-install/package-data.mk: No such file or directory
25libraries/integer-gmp/ghc.mk:3: libraries/integer-gmp/dist-install/package-data.mk: No such file or directory
26libraries/base/ghc.mk:3: libraries/base/dist-install/package-data.mk: No such file or directory
27libraries/filepath/ghc.mk:3: libraries/filepath/dist-install/package-data.mk: No such file or directory
28libraries/array/ghc.mk:3: libraries/array/dist-install/package-data.mk: No such file or directory
29libraries/bytestring/ghc.mk:3: libraries/bytestring/dist-install/package-data.mk: No such file or directory
30libraries/containers/ghc.mk:3: libraries/containers/dist-install/package-data.mk: No such file or directory
31libraries/unix/ghc.mk:3: libraries/unix/dist-install/package-data.mk: No such file or directory
32libraries/old-locale/ghc.mk:3: libraries/old-locale/dist-install/package-data.mk: No such file or directory
33libraries/old-time/ghc.mk:3: libraries/old-time/dist-install/package-data.mk: No such file or directory
34libraries/time/ghc.mk:3: libraries/time/dist-install/package-data.mk: No such file or directory
35libraries/directory/ghc.mk:3: libraries/directory/dist-install/package-data.mk: No such file or directory
36libraries/process/ghc.mk:3: libraries/process/dist-install/package-data.mk: No such file or directory
37libraries/random/ghc.mk:3: libraries/random/dist-install/package-data.mk: No such file or directory
38libraries/extensible-exceptions/ghc.mk:3: libraries/extensible-exceptions/dist-install/package-data.mk: No such file or directory
39libraries/haskell98/ghc.mk:3: libraries/haskell98/dist-install/package-data.mk: No such file or directory
40libraries/haskell2010/ghc.mk:3: libraries/haskell2010/dist-install/package-data.mk: No such file or directory
41libraries/hpc/ghc.mk:3: libraries/hpc/dist-install/package-data.mk: No such file or directory
42libraries/pretty/ghc.mk:3: libraries/pretty/dist-install/package-data.mk: No such file or directory
43libraries/template-haskell/ghc.mk:3: libraries/template-haskell/dist-install/package-data.mk: No such file or directory
44libraries/Cabal/ghc.mk:3: libraries/Cabal/dist-install/package-data.mk: No such file or directory
45libraries/binary/ghc.mk:3: libraries/binary/dist-install/package-data.mk: No such file or directory
46libraries/bin-package-db/ghc.mk:3: libraries/bin-package-db/dist-install/package-data.mk: No such file or directory
47libraries/mtl/ghc.mk:3: libraries/mtl/dist-install/package-data.mk: No such file or directory
48libraries/utf8-string/ghc.mk:3: libraries/utf8-string/dist-install/package-data.mk: No such file or directory
49libraries/xhtml/ghc.mk:3: libraries/xhtml/dist-install/package-data.mk: No such file or directory
50libraries/terminfo/ghc.mk:3: libraries/terminfo/dist-install/package-data.mk: No such file or directory
51libraries/haskeline/ghc.mk:3: libraries/haskeline/dist-install/package-data.mk: No such file or directory
52libraries/deepseq/ghc.mk:3: libraries/deepseq/dist-install/package-data.mk: No such file or directory
53libraries/parallel/ghc.mk:3: libraries/parallel/dist-install/package-data.mk: No such file or directory
54libraries/stm/ghc.mk:3: libraries/stm/dist-install/package-data.mk: No such file or directory
55compiler/ghc.mk:471: compiler/stage1/package-data.mk: No such file or directory
56compiler/ghc.mk:472: compiler/stage2/package-data.mk: No such file or directory
57utils/hsc2hs/ghc.mk:14: utils/hsc2hs/dist/package-data.mk: No such file or directory
58utils/hsc2hs/ghc.mk:15: utils/hsc2hs/dist-install/package-data.mk: No such file or directory
59utils/ghc-pkg/ghc.mk:95: utils/ghc-pkg/dist-install/package-data.mk: No such file or directory
60utils/compare_sizes/ghc.mk:7: utils/compare_sizes/dist/package-data.mk: No such file or directory
61libraries/primitive/ghc.mk:3: libraries/primitive/dist-install/package-data.mk: No such file or directory
62libraries/vector/ghc.mk:3: libraries/vector/dist-install/package-data.mk: No such file or directory
63libraries/dph/dph-base/ghc.mk:3: libraries/dph/dph-base/dist-install/package-data.mk: No such file or directory
64libraries/dph/dph-prim-interface/ghc.mk:3: libraries/dph/dph-prim-interface/dist-install/package-data.mk: No such file or directory
65libraries/dph/dph-prim-seq/ghc.mk:3: libraries/dph/dph-prim-seq/dist-install/package-data.mk: No such file or directory
66libraries/dph/dph-prim-par/ghc.mk:3: libraries/dph/dph-prim-par/dist-install/package-data.mk: No such file or directory
67ghc.mk:673: libraries/dph/dph-seq/ghc.mk: No such file or directory
68ghc.mk:673: libraries/dph/dph-par/ghc.mk: No such file or directory
69ghc.mk:727: libraries/hpc/dist-boot/package-data.mk: No such file or directory
70ghc.mk:728: libraries/extensible-exceptions/dist-boot/package-data.mk: No such file or directory
71ghc.mk:729: libraries/Cabal/dist-boot/package-data.mk: No such file or directory
72ghc.mk:730: libraries/binary/dist-boot/package-data.mk: No such file or directory
73ghc.mk:731: libraries/bin-package-db/dist-boot/package-data.mk: No such file or directory
74mkdir inplace
75mkdir inplace/bin
76"rm" -f utils/ghc-pkg/Version.hs
77mkdir inplace/lib
78rm -rf libraries/dph/dph-par libraries/dph/dph-par.tmp
79rm -rf libraries/dph/dph-seq libraries/dph/dph-seq.tmp
80echo "module Version where"                    >> utils/ghc-pkg/Version.hs
81"rm" -f inplace/bin/mkdirhier
82mkdir libraries/dph/dph-par.tmp
83mkdir libraries/dph/dph-seq.tmp
84echo "version, targetOS, targetARCH :: String" >> utils/ghc-pkg/Version.hs
85cp libraries/dph/dph-common/Setup.hs libraries/dph/dph-par.tmp/Setup.hs
86echo '#!/bin/sh'                 >> inplace/bin/mkdirhier
87Creating includes/ghcautoconf.h...
88cp libraries/dph/dph-common/Setup.hs libraries/dph/dph-seq.tmp/Setup.hs
89echo "version    = \"7.1.20100929\""      >> utils/ghc-pkg/Version.hs
90cp libraries/dph/dph-common/LICENSE libraries/dph/dph-par.tmp/LICENSE
91cat utils/mkdirhier/mkdirhier.sh >> inplace/bin/mkdirhier
92cp libraries/dph/dph-common/LICENSE libraries/dph/dph-seq.tmp/LICENSE
93echo "targetOS   = \"linux\""        >> utils/ghc-pkg/Version.hs
94sed "s/DPHWAY/par/g" libraries/dph/dph-common/dph-common.cabal > libraries/dph/dph-par.tmp/dph-par.cabal
95"rm" -f includes/ghcplatform.h
96chmod +x inplace/bin/mkdirhier
97sed "s/DPHWAY/seq/g" libraries/dph/dph-common/dph-common.cabal > libraries/dph/dph-seq.tmp/dph-seq.cabal
98echo "targetARCH = \"x86_64\""      >> utils/ghc-pkg/Version.hs
99sed "s/common/par/g" libraries/dph/dph-common/ghc.mk > libraries/dph/dph-par.tmp/ghc.mk
100"rm" -rf  libffi/build
101Creating includes/ghcplatform.h...
102"inplace/bin/mkdirhier" libffi/dist-install/build//.
103sed "s/common/seq/g" libraries/dph/dph-common/ghc.mk > libraries/dph/dph-seq.tmp/ghc.mk
104"inplace/bin/mkdirhier" includes/dist-ghcconstants/build//.
105sed "s/common/par/g" libraries/dph/dph-common/GNUmakefile > libraries/dph/dph-par.tmp/GNUmakefile
106cat ghc-tarballs/libffi/libffi*.tar.gz | gzip -d | { cd libffi && /bin/tar -xf - ; }
107sed "s/common/seq/g" libraries/dph/dph-common/GNUmakefile > libraries/dph/dph-seq.tmp/GNUmakefile
108"inplace/bin/mkdirhier" includes/dist-derivedconstants/build//.
109Done.
110"inplace/bin/mkdirhier" utils/genprimopcode/dist/build//.
111mv libraries/dph/dph-par.tmp libraries/dph/dph-par
112mv libraries/dph/dph-seq.tmp libraries/dph/dph-seq
113"inplace/bin/mkdirhier" utils/hp2ps/dist/build//.
114"inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//.
115"inplace/bin/mkdirhier" bootstrapping/.
116"inplace/bin/mkdirhier" inplace/bin//.
117"inplace/bin/mkdirhier" utils/ghc-pkg/dist/build//.
118"inplace/bin/mkdirhier" inplace/lib/package.conf.d/.
119"inplace/bin/mkdirhier" utils/ghc-cabal/dist-dummy-ghc/build/
120"inplace/bin/mkdirhier" utils/ghc-cabal/dist-dummy-ghc/build/tmp//.
121"inplace/bin/mkdirhier" compiler/stage2/build//.
122"inplace/bin/mkdirhier" compiler/stage1/build//.
123"inplace/bin/mkdirhier" utils/genapply/dist/build//.
124"inplace/bin/mkdirhier" utils/unlit/dist/build//.
125"rm" -f utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
126"inplace/bin/mkdirhier" utils/unlit/dist/build/tmp//.
127"inplace/bin/mkdirhier" utils/ghc-cabal/dist-dummy-ghc/build//.
128"inplace/bin/mkdirhier" rts/dist/build/sm//.
129"inplace/bin/mkdirhier" rts/dist/build//.
130"rm" -f utils/genprimopcode/dist/build/.depend.c_asm.tmp
131echo 'import System.Environment'                                  >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
132touch utils/genprimopcode/dist/build/.depend.c_asm.tmp
133echo 'import System.Cmd'                                          >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
134"rm" -f utils/hp2ps/dist/build/.depend.c_asm.tmp
135echo "utils/genprimopcode_dist_depfile_c_asm_EXISTS = YES" >> utils/genprimopcode/dist/build/.depend.c_asm.tmp
136echo 'import System.Exit'                                         >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
137"rm" -f utils/unlit/dist/build/.depend.c_asm.tmp
138mv utils/genprimopcode/dist/build/.depend.c_asm.tmp utils/genprimopcode/dist/build/.depend.c_asm
139echo 'main :: IO ()'                                              >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
140touch utils/hp2ps/dist/build/.depend.c_asm.tmp
141echo 'main = do args <- getArgs'                                  >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
142touch utils/unlit/dist/build/.depend.c_asm.tmp
143/usr/bin/gcc -E    -fno-stack-protector  -Iincludes -lm           -MM utils/hp2ps/AreaBelow.c -MF utils/hp2ps/dist/build/.depend.c_asm.bit
144echo '          case args of'                                     >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
145"/usr/bin/ghc" -H32m -O --make utils/ghc-cabal/ghc-cabal.hs -o utils/ghc-cabal/dist/build/tmp/ghc-cabal \
146               -no-user-package-conf \
147               -Wall  \
148               -DCABAL_VERSION=1,10,0,0 \
149               -odir  bootstrapping \
150               -hidir bootstrapping \
151               -ilibraries/Cabal \
152               -ilibraries/filepath \
153               -ilibraries/hpc
154/usr/bin/gcc -E    -fno-stack-protector             -MM utils/unlit/unlit.c -MF utils/unlit/dist/build/.depend.c_asm.bit
155echo '              ["--numeric-version"] ->'                     >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
156"rm" -f compiler/stage2/build/Config.hs
157echo '                  putStrLn "7.1.20100929"'             >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
158"rm" -f compiler/stage1/build/Config.hs
159echo '              ["--supported-languages"] ->'                 >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
160"rm" -f utils/genapply/dist/build/.depend.c_asm.tmp
161echo '                  mapM_ putStrLn extensions'                >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
162"/usr/bin/ghc"    -H32m -O  -package-conf libraries/bootstrapping.conf   -i -iutils/unlit/. -iutils/unlit/dist/build -iutils/unlit/dist/build/autogen -Iutils/unlit/dist/build -Iutils/unlit/dist/build/autogen        -no-user-package-conf     -c utils/unlit/unlit.c -o utils/unlit/dist/build/unlit.o
163Creating compiler/stage2/build/Config.hs ...
164echo '              _ ->'                                         >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
165touch utils/genapply/dist/build/.depend.c_asm.tmp
166Creating compiler/stage1/build/Config.hs ...
167In file included from includes/ghcconfig.h:5,
168                 from utils/hp2ps/Main.h:4,
169                 from utils/hp2ps/AreaBelow.c:1:
170includes/ghcplatform.h:1:1: error: unterminated #ifndef
171echo '                  do e <- rawSystem "/usr/bin/ghc" args'   >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
172echo "utils/genapply_dist_depfile_c_asm_EXISTS = YES" >> utils/genapply/dist/build/.depend.c_asm.tmp
173"rm" -f utils/ghc-cabal/dist-dummy-ghc/build/.depend.c_asm.tmp
174echo '                     exitWith e'                            >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
175mv utils/genapply/dist/build/.depend.c_asm.tmp utils/genapply/dist/build/.depend.c_asm
176echo 'extensions :: [String]'                                     >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
177cp rts/sm/Evac.c rts/dist/build/sm/Evac_thr.c
178touch utils/ghc-cabal/dist-dummy-ghc/build/.depend.c_asm.tmp
179echo 'extensions ='                                               >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
180cp rts/sm/Scav.c rts/dist/build/sm/Scav_thr.c
181echo "utils/ghc-cabal_dist-dummy-ghc_depfile_c_asm_EXISTS = YES" >> utils/ghc-cabal/dist-dummy-ghc/build/.depend.c_asm.tmp
182'tr' -d '\t' < compiler/main/DynFlags.hs | '/bin/sed' '/^xFlags/,/]/s/^ *( *\("[^"]*"\)[^"]*/  [\1] ++/p;d' >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
183mv utils/ghc-cabal/dist-dummy-ghc/build/.depend.c_asm.tmp utils/ghc-cabal/dist-dummy-ghc/build/.depend.c_asm
184sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|utils/unlit/|" -e "1s|utils/unlit/|utils/unlit/dist/build/|" -e "1s|dist/build/dist/build|dist/build|g" -e "s|/dev/shm/tmp/ghc-7.1.20100929/||g" utils/unlit/dist/build/.depend.c_asm.bit >> utils/unlit/dist/build/.depend.c_asm.tmp && true
185make[1]: *** [utils/hp2ps/dist/build/.depend.c_asm] Error 1
186make[1]: *** Waiting for unfinished jobs....
187"rm" -f utils/unlit/dist/build/.depend.c_asm.bit
188echo '  []'                                                       >> utils/ghc-cabal/dist-dummy-ghc/build/dummy-ghc.hs
189echo "utils/unlit_dist_depfile_c_asm_EXISTS = YES" >> utils/unlit/dist/build/.depend.c_asm.tmp
190Done.
191mv utils/unlit/dist/build/.depend.c_asm.tmp utils/unlit/dist/build/.depend.c_asm
192mv libffi/libffi-* libffi/build
193chmod +x libffi/ln
194cd libffi && \
195            PATH=`pwd`:$PATH; \
196            export PATH; \
197            cd build && \
198            CC=/usr/bin/gcc \
199            LD=/usr/bin/ld \
200            AR=/usr/bin/ar \
201            NM=/usr/bin/nm \
202        CFLAGS=" -fno-stack-protector -w" \
203        LDFLAGS="  -w" \
204        "/bin/sh" configure \
205                  --enable-static=yes \
206                  --enable-shared=yes \
207                  --host=x86_64-unknown-linux --build=x86_64-unknown-linux
208done.
209done.
210checking build system type... x86_64-unknown-linux-gnu
211checking host system type... x86_64-unknown-linux-gnu
212checking target system type... x86_64-unknown-linux-gnu
213checking for a BSD-compatible install... /usr/bin/install -c
214checking whether build environment is sane... [ 1 of 63] Compiling Distribution.Compat.Exception ( libraries/Cabal/Distribution/Compat/Exception.hs, bootstrapping/Distribution/Compat/Exception.o )
215[ 2 of 63] Compiling Distribution.GetOpt ( libraries/Cabal/Distribution/GetOpt.hs, bootstrapping/Distribution/GetOpt.o )
216[ 3 of 63] Compiling Distribution.Compat.ReadP ( libraries/Cabal/Distribution/Compat/ReadP.hs, bootstrapping/Distribution/Compat/ReadP.o )
217[ 4 of 63] Compiling Distribution.Simple.PreProcess.Unlit ( libraries/Cabal/Distribution/Simple/PreProcess/Unlit.hs, bootstrapping/Distribution/Simple/PreProcess/Unlit.o )
218[ 5 of 63] Compiling Distribution.ReadE ( libraries/Cabal/Distribution/ReadE.hs, bootstrapping/Distribution/ReadE.o )
219[ 6 of 63] Compiling System.FilePath.Windows ( libraries/filepath/System/FilePath/Windows.hs, bootstrapping/System/FilePath/Windows.o )
220yes
221checking for a thread-safe mkdir -p... /bin/mkdir -p
222checking for gawk... gawk
223checking whether make sets $(MAKE)... yes
224checking for x86_64-unknown-linux-gcc... /usr/bin/gcc
225checking for C compiler default output file name... a.out
226checking whether the C compiler works... yes
227checking whether we are cross compiling... no
228checking for suffix of executables...
229checking for suffix of object files... o
230checking whether we are using the GNU C compiler... yes
231checking whether /usr/bin/gcc accepts -g... yes
232checking for /usr/bin/gcc option to accept ISO C89... none needed
233checking for style of include used by make... GNU
234checking dependency style of /usr/bin/gcc... [ 7 of 63] Compiling System.FilePath.Posix ( libraries/filepath/System/FilePath/Posix.hs, bootstrapping/System/FilePath/Posix.o )
235gcc3
236checking dependency style of /usr/bin/gcc... gcc3
237checking whether /usr/bin/gcc and cc understand -c and -o together... yes
238checking for a sed that does not truncate output... /bin/sed
239checking for grep that handles long lines and -e... /bin/grep
240checking for egrep... /bin/grep -E
241checking for fgrep... /bin/grep -F
242checking for ld used by /usr/bin/gcc... /usr/bin/ld
243checking if the linker (/usr/bin/ld) is GNU ld... yes
244checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
245checking the name lister (/usr/bin/nm) interface... BSD nm
246checking whether ln -s works... no, using cp -p
247checking the maximum length of command line arguments... 3458764513820540925
248checking whether the shell understands some XSI constructs... yes
249checking whether the shell understands "+="... yes
250checking for /usr/bin/ld option to reload object files... -r
251checking for x86_64-unknown-linux-objdump... no
252checking for objdump... objdump
253checking how to recognize dependent libraries... pass_all
254checking for x86_64-unknown-linux-ar... /usr/bin/ar
255checking for x86_64-unknown-linux-strip... no
256checking for strip... strip
257checking for x86_64-unknown-linux-ranlib... no
258checking for ranlib... ranlib
259checking command to parse /usr/bin/nm output from /usr/bin/gcc object... ok
260checking how to run the C preprocessor... /usr/bin/gcc -E
261checking for ANSI C header files... [ 8 of 63] Compiling System.FilePath  ( libraries/filepath/System/FilePath.hs, bootstrapping/System/FilePath.o )
262[ 9 of 63] Compiling Distribution.Compat.TempFile ( libraries/Cabal/Distribution/Compat/TempFile.hs, bootstrapping/Distribution/Compat/TempFile.o )
263yes
264checking for sys/types.h... yes
265checking for sys/stat.h... yes
266checking for stdlib.h... [10 of 63] Compiling Distribution.Compat.CopyFile ( libraries/Cabal/Distribution/Compat/CopyFile.hs, bootstrapping/Distribution/Compat/CopyFile.o )
267yes
268checking for string.h... yes
269checking for memory.h... yes
270checking for strings.h... [11 of 63] Compiling Distribution.Verbosity ( libraries/Cabal/Distribution/Verbosity.hs, bootstrapping/Distribution/Verbosity.o )
271yes
272checking for inttypes.h... yes
273checking for stdint.h... yes
274checking for unistd.h... yes
275checking for dlfcn.h... yes
276checking for objdir... .libs
277[12 of 63] Compiling Distribution.Text ( libraries/Cabal/Distribution/Text.hs, bootstrapping/Distribution/Text.o )
278checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... yes
279checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC
280checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes
281checking if /usr/bin/gcc static flag -static works... [13 of 63] Compiling Distribution.System ( libraries/Cabal/Distribution/System.hs, bootstrapping/Distribution/System.o )
282yes
283checking if /usr/bin/gcc supports -c -o file.o... yes
284checking if /usr/bin/gcc supports -c -o file.o... (cached) yes
285checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
286checking whether -lc should be explicitly linked in... no
287checking dynamic linker characteristics... GNU/Linux ld.so
288checking how to hardcode library paths into programs... immediate
289checking whether stripping libraries is possible... yes
290checking if libtool supports shared libraries... yes
291checking whether to build shared libraries... yes
292checking whether to build static libraries... yes
293checking whether to enable maintainer-specific portions of Makefiles... no
294checking sys/mman.h usability... yes
295checking sys/mman.h presence... yes
296checking for sys/mman.h... yes
297checking for mmap... yes
298checking for sys/mman.h... (cached) yes
299checking for mmap... (cached) yes
300checking whether read-only mmap of a plain file works... yes
301checking whether mmap from /dev/zero works... yes
302checking for MAP_ANON(YMOUS)... yes
303checking whether mmap with MAP_ANON(YMOUS) works... yes
304checking for ANSI C header files... (cached) yes
305checking for memcpy... yes
306checking for working alloca.h... yes
307checking for alloca... yes
308checking size of double... 8
309checking size of long double... 16
310checking whether byte ordering is bigendian... [14 of 63] Compiling Distribution.Version ( libraries/Cabal/Distribution/Version.hs, bootstrapping/Distribution/Version.o )
311no
312checking assembler .cfi pseudo-op support... yes
313checking assembler supports pc related relocs... yes
314checking whether .eh_frame section should be read-only... no
315checking for __attribute__((visibility("hidden")))... yes
316configure: creating ./config.status
317config.status: creating include/Makefile
318config.status: creating include/ffi.h
319config.status: creating Makefile
320config.status: creating testsuite/Makefile
321config.status: creating man/Makefile
322config.status: creating libffi.pc
323config.status: creating fficonfig.h
324config.status: linking src/x86/ffitarget.h to include/ffitarget.h
325config.status: executing depfiles commands
326config.status: executing libtool commands
327config.status: executing include commands
328config.status: executing src commands
329# libffi.so needs to be built with the correct soname.
330# NOTE: this builds libffi_convience.so with the incorrect
331# soname, but we don't need that anyway!
332cd libffi && \
333          "cp" build/libtool build/libtool.orig; \
334          sed -e s/soname_spec=.*/soname_spec="libHSffi-ghc7.1.20100929.so"/ build/libtool.orig > build/libtool
335# We don't want libtool's cygwin hacks
336cd libffi && \
337          "cp" build/libtool build/libtool.orig; \
338          sed -e s/dlname=\'\$tdlname\'/dlname=\'\$dlname\'/ build/libtool.orig > build/libtool
339touch libffi/stamp.ffi.configure-shared
340[15 of 63] Compiling Distribution.Compiler ( libraries/Cabal/Distribution/Compiler.hs, bootstrapping/Distribution/Compiler.o )
341[16 of 63] Compiling Distribution.License ( libraries/Cabal/Distribution/License.hs, bootstrapping/Distribution/License.o )
342[17 of 63] Compiling Distribution.Package ( libraries/Cabal/Distribution/Package.hs, bootstrapping/Distribution/Package.o )
343[18 of 63] Compiling Distribution.Simple.InstallDirs ( libraries/Cabal/Distribution/Simple/InstallDirs.hs, bootstrapping/Distribution/Simple/InstallDirs.o )
344[19 of 63] Compiling Language.Haskell.Extension ( libraries/Cabal/Language/Haskell/Extension.hs, bootstrapping/Language/Haskell/Extension.o )
345[20 of 63] Compiling Distribution.Simple.Compiler ( libraries/Cabal/Distribution/Simple/Compiler.hs, bootstrapping/Distribution/Simple/Compiler.o )
346[21 of 63] Compiling Distribution.ModuleName ( libraries/Cabal/Distribution/ModuleName.hs, bootstrapping/Distribution/ModuleName.o )
347[22 of 63] Compiling Distribution.Simple.Utils ( libraries/Cabal/Distribution/Simple/Utils.hs, bootstrapping/Distribution/Simple/Utils.o )
348[23 of 63] Compiling Distribution.Simple.Program.Types ( libraries/Cabal/Distribution/Simple/Program/Types.hs, bootstrapping/Distribution/Simple/Program/Types.o )
349[24 of 63] Compiling Distribution.Simple.Program.Builtin ( libraries/Cabal/Distribution/Simple/Program/Builtin.hs, bootstrapping/Distribution/Simple/Program/Builtin.o )
350[25 of 63] Compiling Distribution.Simple.Program.Db ( libraries/Cabal/Distribution/Simple/Program/Db.hs, bootstrapping/Distribution/Simple/Program/Db.o )
351[26 of 63] Compiling Distribution.Simple.Program.Run ( libraries/Cabal/Distribution/Simple/Program/Run.hs, bootstrapping/Distribution/Simple/Program/Run.o )
352[27 of 63] Compiling Distribution.Simple.Program ( libraries/Cabal/Distribution/Simple/Program.hs, bootstrapping/Distribution/Simple/Program.o )
353[28 of 63] Compiling Distribution.Simple.Program.Ar ( libraries/Cabal/Distribution/Simple/Program/Ar.hs, bootstrapping/Distribution/Simple/Program/Ar.o )
354[29 of 63] Compiling Distribution.Simple.Program.Ld ( libraries/Cabal/Distribution/Simple/Program/Ld.hs, bootstrapping/Distribution/Simple/Program/Ld.o )
355[30 of 63] Compiling Distribution.Simple.Program.Script ( libraries/Cabal/Distribution/Simple/Program/Script.hs, bootstrapping/Distribution/Simple/Program/Script.o )
356[31 of 63] Compiling Distribution.ParseUtils ( libraries/Cabal/Distribution/ParseUtils.hs, bootstrapping/Distribution/ParseUtils.o )
357[32 of 63] Compiling Distribution.PackageDescription ( libraries/Cabal/Distribution/PackageDescription.hs, bootstrapping/Distribution/PackageDescription.o )
358[33 of 63] Compiling Distribution.PackageDescription.Configuration ( libraries/Cabal/Distribution/PackageDescription/Configuration.hs, bootstrapping/Distribution/PackageDescription/Configuration.o )
359[34 of 63] Compiling Distribution.PackageDescription.Check ( libraries/Cabal/Distribution/PackageDescription/Check.hs, bootstrapping/Distribution/PackageDescription/Check.o )
360[35 of 63] Compiling Distribution.PackageDescription.Parse ( libraries/Cabal/Distribution/PackageDescription/Parse.hs, bootstrapping/Distribution/PackageDescription/Parse.o )
361[36 of 63] Compiling Distribution.InstalledPackageInfo ( libraries/Cabal/Distribution/InstalledPackageInfo.hs, bootstrapping/Distribution/InstalledPackageInfo.o )
362[37 of 63] Compiling Distribution.Simple.Program.HcPkg ( libraries/Cabal/Distribution/Simple/Program/HcPkg.hs, bootstrapping/Distribution/Simple/Program/HcPkg.o )
363[38 of 63] Compiling Distribution.Simple.PackageIndex ( libraries/Cabal/Distribution/Simple/PackageIndex.hs, bootstrapping/Distribution/Simple/PackageIndex.o )
364[39 of 63] Compiling Distribution.Simple.LocalBuildInfo ( libraries/Cabal/Distribution/Simple/LocalBuildInfo.hs, bootstrapping/Distribution/Simple/LocalBuildInfo.o )
365[40 of 63] Compiling Distribution.Simple.Build.Macros ( libraries/Cabal/Distribution/Simple/Build/Macros.hs, bootstrapping/Distribution/Simple/Build/Macros.o )
366[41 of 63] Compiling Distribution.Simple.Command ( libraries/Cabal/Distribution/Simple/Command.hs, bootstrapping/Distribution/Simple/Command.o )
367[42 of 63] Compiling Distribution.Simple.Setup ( libraries/Cabal/Distribution/Simple/Setup.hs, bootstrapping/Distribution/Simple/Setup.o )
368[43 of 63] Compiling Distribution.Simple.BuildPaths ( libraries/Cabal/Distribution/Simple/BuildPaths.hs, bootstrapping/Distribution/Simple/BuildPaths.o )
369[44 of 63] Compiling Distribution.Simple.Build.PathsModule ( libraries/Cabal/Distribution/Simple/Build/PathsModule.hs, bootstrapping/Distribution/Simple/Build/PathsModule.o )
370[45 of 63] Compiling Distribution.Simple.JHC ( libraries/Cabal/Distribution/Simple/JHC.hs, bootstrapping/Distribution/Simple/JHC.o )
371[46 of 63] Compiling Distribution.Simple.UHC ( libraries/Cabal/Distribution/Simple/UHC.hs, bootstrapping/Distribution/Simple/UHC.o )
372[47 of 63] Compiling Distribution.Simple.Test ( libraries/Cabal/Distribution/Simple/Test.hs, bootstrapping/Distribution/Simple/Test.o )
373[48 of 63] Compiling Distribution.Simple.LHC ( libraries/Cabal/Distribution/Simple/LHC.hs, bootstrapping/Distribution/Simple/LHC.o )
374[49 of 63] Compiling Distribution.Simple.NHC ( libraries/Cabal/Distribution/Simple/NHC.hs, bootstrapping/Distribution/Simple/NHC.o )
375[50 of 63] Compiling Distribution.Simple.PreProcess ( libraries/Cabal/Distribution/Simple/PreProcess.hs, bootstrapping/Distribution/Simple/PreProcess.o )
376[51 of 63] Compiling Distribution.Simple.Hugs ( libraries/Cabal/Distribution/Simple/Hugs.hs, bootstrapping/Distribution/Simple/Hugs.o )
377[52 of 63] Compiling Distribution.Simple.UserHooks ( libraries/Cabal/Distribution/Simple/UserHooks.hs, bootstrapping/Distribution/Simple/UserHooks.o )
378[53 of 63] Compiling Distribution.Simple.SrcDist ( libraries/Cabal/Distribution/Simple/SrcDist.hs, bootstrapping/Distribution/Simple/SrcDist.o )
379[54 of 63] Compiling Distribution.Simple.GHC.IPI642 ( libraries/Cabal/Distribution/Simple/GHC/IPI642.hs, bootstrapping/Distribution/Simple/GHC/IPI642.o )
380[55 of 63] Compiling Distribution.Simple.GHC.IPI641 ( libraries/Cabal/Distribution/Simple/GHC/IPI641.hs, bootstrapping/Distribution/Simple/GHC/IPI641.o )
381[56 of 63] Compiling Distribution.Simple.GHC ( libraries/Cabal/Distribution/Simple/GHC.hs, bootstrapping/Distribution/Simple/GHC.o )
382[57 of 63] Compiling Distribution.Simple.Configure ( libraries/Cabal/Distribution/Simple/Configure.hs, bootstrapping/Distribution/Simple/Configure.o )
383[58 of 63] Compiling Distribution.Simple.Register ( libraries/Cabal/Distribution/Simple/Register.hs, bootstrapping/Distribution/Simple/Register.o )
384[59 of 63] Compiling Distribution.Simple.Build ( libraries/Cabal/Distribution/Simple/Build.hs, bootstrapping/Distribution/Simple/Build.o )
385[60 of 63] Compiling Distribution.Simple.Haddock ( libraries/Cabal/Distribution/Simple/Haddock.hs, bootstrapping/Distribution/Simple/Haddock.o )
386[61 of 63] Compiling Distribution.Simple.Install ( libraries/Cabal/Distribution/Simple/Install.hs, bootstrapping/Distribution/Simple/Install.o )
387[62 of 63] Compiling Distribution.Simple ( libraries/Cabal/Distribution/Simple.hs, bootstrapping/Distribution/Simple.o )
388[63 of 63] Compiling Main             ( utils/ghc-cabal/ghc-cabal.hs, bootstrapping/Main.o )
389Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal ...
390touch utils/ghc-cabal/dist/build/tmp/ghc-cabal
391make: *** [all] Error 2