logo       

Segmentation fault during build of 5.04.3: msg#00041

lang.haskell.glasgow.bugs

Subject: Segmentation fault during build of 5.04.3

Hi,

I'm trying to build ghc 5.04.3 on a Sun Solaris 8 platform. (There
isn't a binary distribution for Solaris for this version for some
reason.) I installed the binary distribution of ghc 5.04.2
successfully, but and running into problems near the start of the
build process for 5.04.3. I created a build directory with links into
the source directory, and ran:

env PerlCmd=/usr/local/bin/perl ./configure --with-x --enable-objectio
--enable-src-tree-happy

However,

make all

fails. Near the end, I get:

-n Creating main/Config.hs ...
done.
rm -f prelude/primops.txt
gcc -E -I../includes -traditional -x c prelude/primops.txt.pp |
/usr/bin/sed -e '/^#/d' >
prelude/primops.txt
../utils/genprimopcode/genprimopcode --data-decl < prelude/primops.txt
> primop-data-decl.hs-incl
Segmentation Fault
make[2]: *** [primop-data-decl.hs-incl] Error 139
make[1]: *** [boot] Error 1
make[1]: Leaving directory `/systems/sware/src/build/ghc-5.04.3-build/ghc'
make: *** [all] Error 1

Any ideas on what I'm doing wrong? Maybe ghc-5.04.2 isn't actually
installed properly?

- Ed


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise