compiling GHC with a custom path to GCC

Remi Turk rturk at
Fri Feb 18 04:38:14 EST 2005

On Fri, Feb 18, 2005 at 12:02:06PM +1100, Donald Bruce Stewart wrote:
> rturk:
> > In case you've got nothing else left to do.. ;)
> > 
> > The ghc command which perfectly repeatable kills gcc:
> This is a known problem with gcc-2.95. 
> We came across it back in September.
> It was noticed in the nightly builds:
> And then we chased it up:
Ah, it's nice to see I was on the right track though ;)

> The bug was dealt with in gcc-3.01 I think, and upgrading to gcc-3.3x
> certainly stopped it occuring in the OpenBSD nightly builds.
> Try adding:
>     --with-gcc=gcc-3.x
> Works for me. If you really need gcc-2.95, then constructing a patch
> along the lines of the one proposed to solve the test case should
> probably do it, though it would be a pain.
> -- Don

I already succeeded in compiling it with 3.4.3, but thanks
anyway. It was merely an attempt to help Simon a little:

> > On Thu, Feb 17, 2005 at 11:29:41AM -0000, Simon Marlow wrote:
> > > I've noticed gcc 2.95 crashing on my FreeBSD box too.  I should look
> > > into whether there's a workaround, otherwise we're hosed on FreeBSD 4.x.

(though I now assume it probably isn't even the same bug?)


Nobody can be exactly like me. Even I have trouble doing it.

More information about the Glasgow-haskell-users mailing list