HEAD segfaulting
Jost Berthold
berthold at Mathematik.Uni-Marburg.de
Wed Mar 31 09:49:53 EST 2004
> Date: Tue, 30 Mar 2004 16:46:18 +0100
> From: Ian Lynagh <igloo at earth.li>
> Subject: HEAD segfaulting
> To: cvs-ghc at haskell.org
> Message-ID: <20040330154618.GA2307 at orthogonal.chaos.earth.li>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi all,
>
> I'm getting segfaults with the HEAD:
Me too. GHC seems to generate wrong machine code when building itself.
I can add the following information:
When building ghc from source, using a ghc-6.2.1 (recent source tarball
built with ghc-5.02.3 and installed), the first ghc which is built (stage 1)
*seems* to work correctly. It builds the stage 2 ghc without showing any errors.
Problems show up when using this ghc (stage 2), e.g. for building a
stage 3 ghc, but also any trivial "hello world" program.
Compiling with "ghc-inplace -v X.hs" shows that the compiler segfaults during
the type check.
Thanks
Jost
Using fedora-1 on x86 (athlon):
berthold at windhoek:>uname -a
Linux windhoek 2.4.22-1.2174.nptl #1 Wed Feb 18 16:38:32 EST 2004 i686 athlon
i386 GNU/Linux
berthold at windhoek:>/app/lang/gcc/3.3/bin/gcc -v
Reading specs from /app/lang/gcc/3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/specs
Configured with: ../configure --prefix=/app/lang/gcc/3.3 --enable-__cxa_atexit
Thread model: posix
gcc version 3.3.2
More information about the Cvs-ghc
mailing list