[nhc-bugs] nhc build crashes on powerbook

Malcolm Wallace Malcolm.Wallace@cs.york.ac.uk
Mon, 31 Mar 2003 11:04:01 +0100


Sven Moritz Hallberg <1hallber@informatik.uni-hamburg.de> writes:

> when trying to build my PowerBook G4 running Gentoo Linux (with GCC 3.2)
> I ran into a segmentation fault on the command
> 
> 	.../build/nhc98-1.16/script/nhc98 -cpp -c ... DErrNo.hs

I assume you are building nhc98 with gcc, rather than another Haskell
compiler.  This error is occurring on the first invocation of the
freshly-built compiler over a Haskell source file, indicating that
the build has failed - you have a non-working compiler.

So it seems that our attempt to fix nhc98 to build with gcc-3.x
has not been entirely successful.  Because you are running on a
PPC architecture, it is possible that our current fix only works on
intel/sparc machines.

Please could you run the following test, and send me the output
(DErrNo.s), thanks.

    $ gcc -S -x c src/prelude/DErrNo.hc

Regards,
    Malcolm