I just tried the new validate script on MacOS/Intel and it fails when linking the stage2 compiler with the appended error messages. Any idea what could be the problem?

Manuel

-=-

../compiler/stage1/ghc-inplace -H64m -Onot -fasm -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -Rghc-timing -Onot -fasm -DGHCI -threaded -fforce-recomp -c main/Main.hs -o stage2/main/Main.o -ohi stage2/main/Main.hi <<ghc: 144274428 bytes, 11 GCs, 5645753/11175308 avg/max bytes residency (3 samples), 66M in use, 0.00 INIT (0.00 elapsed), 0.37 MUT (0.75 elapsed), 0.15 GC (0.17 elapsed) :ghc>> ../compiler/stage1/ghc-inplace -o stage2/ghc-6.7.20070709 -H64m -Onot -fasm -package ghc -Istage2 -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -IcodeGen -InativeGen -Iparser -Rghc-timing -Onot -fasm -DGHCI -threaded -fforce-recomp stage2/main/Main.o /usr/bin/ld: /Users/chak/Code/ghc-test/rts/libHSrts_thr.a(StgMiscClosures.thr_o) has external relocation entries in non-writable section (__TEXT,__text) for symbols:
_pthread_mutex_lock
collect2: ld returned 1 exit status
<<ghc: 12601380 bytes, 3 GCs, 106932/106932 avg/max bytes residency (1 samples), 62M in use, 0.00 INIT (0.00 elapsed), 0.02 MUT (2.05 elapsed), 0.01 GC (0.01 elapsed) :ghc>>
make[3]: *** [stage2/ghc-6.7.20070709] Error 1
make[2]: *** [stage2/ghc-6.7.20070709] Error 2
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2
../../mk/test.mk:20: ../../mk/wordsize.mk: No such file or directory gcc -E -undef -traditional -x c ../../mk/wordsize.mk.in > ../../mk/wordsize.mk
make fast=YES
Looks like you don't have timeout, building it first...
cd ../../timeout && make -r all
../../compiler/ghc-inplace -H64m -Onot -fasm -threaded -package unix -c timeout.hs -o timeout.o -ohi timeout.hi ../../compiler/ghc-inplace -o timeout -H64m -Onot -fasm -threaded -package unix timeout.o /usr/bin/ld: /Users/chak/Code/ghc-test/rts/libHSrts_thr.a(StgMiscClosures.thr_o) has external relocation entries in non-writable section (__TEXT,__text) for symbols:
_pthread_mutex_lock
collect2: ld returned 1 exit status
make[2]: *** [timeout] Error 1
make[1]: *** [../../timeout/timeout] Error 2
make: *** [fast] Error 2
-------------------------------------------------------------------
Oops!  Looks like you have some test failures.
Please fix them before pushing/sending patches.
-------------------------------------------------------------------

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to