GHC 6.4 release candidates available (breakage on x86-64)

Donald Bruce Stewart dons at cse.unsw.edu.au
Fri Feb 25 18:46:11 EST 2005


bstrand:
> Simon Marlow wrote:
> >Just to let you know, there are a number of open bug reports for GHC on
> >the x86_64 platform, which seem to indicate some kind of occasional
> >memory/GC problem.  I'm probably not going to be able to track this down
> >until after the 6.4 release, but we'll put out a patch as soon as we
> >have one.
> 
> Here's an error building ghc-6.4.20050224ghc-6.4.20050224 via Anders' 
> Debian x86-64 ghc, although it doesn't look like a memory/GC problem to 
> my untrained eye:
> 
> 
> ==fptools== make boot - --no-print-directory -r;
>  in /home/bstrand/src/ghc-6.4.20050224/ghc/lib/compat
> ------------------------------------------------------------------------
> ../../../glafp-utils/mkdependC/mkdependC -f .depend    -I../../includes 
>  -- -O    -- cbits/directory.c cbits/rawSystem.c
> /usr/bin/ghc -M -optdep-f -optdep.depend  -osuf o    -H16m -O -H64m -O 
> -I. -Rghc-timing -I../../../libraries -fglasgow-exts -no-recomp 
> Compat/Directory.hs Compat/RawSystem.hs Distribution/Compat/ReadP.hs 
> Distribution/Extension.hs Distribution/GetOpt.hs 
> Distribution/InstalledPackageInfo.hs Distribution/License.hs 
> Distribution/Package.hs Distribution/ParseUtils.hs Distribution/Setup.hs 
> Distribution/Version.hs System/Directory/Internals.hs
> <<ghc: 15653112 bytes, 5 GCs, 73168/73168 avg/max bytes residency (1 
> samples), 63M in use, 0.00 INIT (0.00 elapsed), 0.12 MUT (5.14 elapsed), 
> 0.03 GC (0.57 elapsed) :ghc>>
> make all
> rm -f System/Directory/Internals.o; if [ ! -d 
> System/Directory/Internals_split ]; then mkdir 
> System/Directory/Internals_split; else /usr/bin/find 
> System/Directory/Internals_split -name '*.o' -print | xargs rm -f 
> __rm_food; fi;
> /usr/bin/ghc -H16m -O -H64m -O -I. -Rghc-timing  -I../../../libraries 
> -fglasgow-exts -no-recomp -split-objs    -c 
> System/Directory/Internals.hs-o System/Directory/Internals.o  -ohi 
> System/Directory/Internals.hi
> warning: don't know how to split object files on this architecture
> <<ghc: 76094368 bytes, 11 GCs, 2187736/4575048 avg/max bytes residency 
> (3 samples), 66M in use, 0.00 INIT (0.00 elapsed), 0.87 MUT (13.77 
> elapsed), 0.14 GC (1.40 elapsed) :ghc>>
> ( cd System/Directory/Internals_split; rm -f ld.script; touch ld.script; 
> echo "INPUT(" *.o ")" >>ld.script; /usr/bin/ld -r -x -o 
> ../Internals.old.script; );
> /usr/bin/ld:ld.script: file format not recognized; treating as linker script
> /usr/bin/ld:ld.script:1: syntax error
> make[4]: *** [System/Directory/Internals.o] Error 1
> make[3]: *** [boot] Error 2
> make[2]: *** [boot] Error 1
> make[1]: *** [boot] Error 1
> make[1]: Leaving directory `/home/bstrand/src/ghc-6.4.20050224/ghc'
> make: *** [build] Error 1

Can you try building with SplitObjs=NO ?

Wolfgang, Ryan - that looks like a splitter problem, no?

(The splitter is more of a dark art than the evil mangler, I propose we
name it the "diabolical splitter" from now on.)

-- Don


More information about the Glasgow-haskell-users mailing list