RE: Fail to compile ghc-6.2 on a Sun/Sparc
Hmm, the patch works fine, but compilation stops when building libraries/base/GHC/List.o It seems to me that some library of the system makes trouble. I dont think thats a ghc errror:
rm -f GHC/List.o; if [ ! -d GHC/List_split ]; then mkdir GHC/List_split; else /usr/bin/find GHC/List_split -name '*.o' -print | xargs rm -f __rm_food; fi; Putting child 0x000aa798 (GHC/List.o) PID 9863 on the chain. Live child 0x000aa798 (GHC/List.o) PID 9863 Got a SIGCHLD; 1 unreaped children. Reaping winning child 0x000aa798 PID 9863 ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base -O -Rghc-timing -split-objs -c GHC/List.lhs -o GHC/List.o -ohi GHC/List.hi Live child 0x000aa798 (GHC/List.o) PID 9868 Segmentation Fault Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x000aa798 PID 9868 make[1]: *** [GHC/List.o] Error 139 Removing child 0x000aa798 PID 9868 from chain. Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x00055318 PID 9857 make: *** [all] Error 1 Removing child 0x00055318 PID 9857 from chain.
How can I get more informations than just the "segfault"-message?
What version of gcc do you have installed? (gcc --version). Cheers, Simon
Am Donnerstag, 15. Januar 2004 10:35 schrieb Simon Marlow:
Hmm, the patch works fine, but compilation stops when building libraries/base/GHC/List.o It seems to me that some library of the system makes trouble. I dont think thats a ghc errror:
rm -f GHC/List.o; if [ ! -d GHC/List_split ]; then mkdir GHC/List_split; else /usr/bin/find GHC/List_split -name '*.o' -print | xargs rm -f __rm_food; fi; Putting child 0x000aa798 (GHC/List.o) PID 9863 on the chain. Live child 0x000aa798 (GHC/List.o) PID 9863 Got a SIGCHLD; 1 unreaped children. Reaping winning child 0x000aa798 PID 9863 ../../ghc/compiler/ghc-inplace -H16m -O -fglasgow-exts -cpp -Iinclude -#include HsBase.h -funbox-strict-fields -package-name base -O -Rghc-timing -split-objs -c GHC/List.lhs -o GHC/List.o -ohi GHC/List.hi Live child 0x000aa798 (GHC/List.o) PID 9868 Segmentation Fault Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x000aa798 PID 9868 make[1]: *** [GHC/List.o] Error 139 Removing child 0x000aa798 PID 9868 from chain. Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x00055318 PID 9857 make: *** [all] Error 1 Removing child 0x00055318 PID 9857 from chain.
How can I get more informations than just the "segfault"-message?
What version of gcc do you have installed? (gcc --version).
Cheers, Simon
There is the following version installed. The version seems to be greater than that versionnumber that is needed. While I'm waiting I'll compile the gnu-gcc... bash-2.05$ gcc --version gcc (GCC) 3.2.1 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
participants (2)
-
Patrick Scheibe -
Simon Marlow