On Wed, Aug 03, 2005 at 11:57:07AM +0100, Simon Marlow wrote: > On 03 August 2005 10:38, Serge D. Mechveliani wrote: > > > ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude > > -"#include" HsBase.h -funbox-strict-fields -ignore-package base -O > > -Rghc-timing -fgeneri\cs -fgenerics -split-objs -c GHC/Dotnet.hs > > -o GHC/Dotnet.o -ohi GHC/Dotnet.hi > > ... > > ... > > > > ( cd GHC/Dotnet_split; rm -f ld.script; touch ld.script; echo > > "INPUT(" *.o ")" >>ld.script; /usr/bin/ld -r -x -o ../Dotnet.o > > ld.script; ); rm -f GHC/PArr.o; if [ ! -d GHC/PArr_split ]; then > > mkdir GHC/PArr_split; else \usr/bin/find GHC/PArr_split -name '*.o' > > -print | > > xargs rm -f __rm_food; fi; > > ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude > > -"#include" HsBase.h -funbox-strict-fields -ignore-package base -O > > -Rghc-timing -fgeneri\cs -fgenerics -split-objs -c > > GHC/PArr.hs -o GHC/PArr.o -ohi GHC/PArr.hi > > ghc-6.4.1.20050801: internal error: evacuate: strange closure type > > 2160 Please report this as a bug to > > glasgow-haskell-bugs@haskell.org, or > > http://www.sourceforge.net/projects/ghc/ > > make[2]: *** [GHC/PArr.o] Error 254 > > make[1]: *** [all] Error 1 > > make[1]: Leaving directory > > `/home/mechvel/ghc/6.4.1-aug-1/ghc-6.4.1.20050801/libraries' > > make: *** [build] Error 1 > > --------------------------------- > > Hmm, another occurrence of the elusive GC bug. I can't repeat this one > either. > > Can you check that it is repeatable for you: > > $ cd libraries/base > $ rm GHC/PArr.o > $ make GHC/PArr.o > > and let me know whether you get the same crash repeatedly.
PArr.o was not there. I apply the above commands, and they report --------------------------------------------------------- rm -f GHC/PArr.o; if [ ! -d GHC/PArr_split ]; then mkdir GHC/PArr_split; else /usr/bin/find GHC/PArr_split -name '*.o' -print | xargs rm -f __rm_food; fi; ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -ignore-package base -O -Rghc-timing -fgenerics -fgenerics -split-objs -c GHC/PArr.hs -o GHC/PArr.o -ohi GHC/PArr.hi <<ghc: 262247264 bytes, 48 GCs, 4479368/9051336 avg/max bytes residency (4 samples), 20M in use, 0.04 INIT (0.03 elapsed), 4.30 MUT (19.20 elapsed), 1.36 GC (2.90 elapsed) :ghc>> ( cd GHC/PArr_split; rm -f ld.script; touch ld.script; echo "INPUT(" *.o ")" >>ld.script; /usr/bin/ld -r -x -o ../PArr.o ld.script; ); -------------------------------------------------------- and stops, with PArr.o ready. It looks like we fail to repeat the crash. > Could you also try this: > > $ rm GHC/PArr.o > $ make GHC/PArr.o EXTRA_HC_OPTS="+RTS -C0 -RTS" > > which might help to make it more repeatable (that disables the context > switch timer). It reports ---------------------------------------------------------------- rm -f GHC/PArr.o; if [ ! -d GHC/PArr_split ]; then mkdir GHC/PArr_split; else /usr/bin/find GHC/PArr_split -name '*.o' -print | xargs rm -f __rm_food; fi; ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -"#include" HsBase.h -funbox-strict-fields -ignore-package base -O -Rghc-timing -fgenerics -fgenerics -split-objs +RTS -C0 -RTS -c GHC/PArr.hs -o GHC/PArr.o -ohi GHC/PArr.hi <<ghc: 263003692 bytes, 57 GCs, 4518303/9088788 avg/max bytes residency (4 samples), 20M in use, 0.04 INIT (0.00 elapsed), 4.12 MUT (12.96 elapsed), 1.52 GC (1.54 elapsed) :ghc>> ( cd GHC/PArr_split; rm -f ld.script; touch ld.script; echo "INPUT(" *.o ")" >>ld.script; /usr/bin/ld -r -x -o ../PArr.o ld.script; ); ---------------------------------------------------------------- and stops, with PArr.o ready. ----------------- Serge Mechveliani [EMAIL PROTECTED] _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs