Re: nhc build crashes on powerbook

Malcolm Wallace <[email protected]> Mon, 31 Mar 2003 11:04:01 +0100
Newsgroups gmane.comp.lang.haskell.nhc.bugs
Organization Dept of Computer Science, University of York
Message-ID <[email protected]>
Sven Moritz Hallberg <[email protected]> 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