Fail to compile ghc-6.2 on a Sun/Sparc
Simon Marlow
simonmar at microsoft.com
Thu Jan 15 09:35:02 EST 2004
> 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
More information about the Glasgow-haskell-users
mailing list