making 6.4.1-aug-1 with itself
Simon Marlow
simonmar at microsoft.com
Wed Aug 3 08:26:24 EDT 2005
On 03 August 2005 12:57, Serge D. Mechveliani wrote:
> 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.
You could try the complete build from scratch to see if the problem
repeats that way.
However, at this stage, I'm afraid the most likely case is that the
crash was caused by a hardware problem on your machine. Check that your
fans are working, and your machine is not overheating, if possible.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list