Build error

Simon Marlow simonmar at microsoft.com
Tue Feb 11 05:13:27 EST 2003


> > Could you try with EXTRA_HC_OPTS=-v, and send us the 
> output?  Thanks. 
> > 
> > Also, what compiler are you building GHC with?  Installed 
> from where? 
> The compiler was ghc 5.04.1, installed from the rpm on 
> haskell.org; I've updated to 5.04.2 (same source): no change. 
>  In the example below, I'm using gcc 3.2.1, but the problem 
> occurs with the Redhat supplied 2.96 (?) as well, and I've 
> successfully built on another machine with 3.2.1 so I think 
> that's irrelevant.
> The output with EXTRA_HC_OPTS=-v is: 

[ snipped -v output, which shows that GHC executed gcc which just failed
with no error message ]

> Again, the generated gcc command succeeds by itself. 

Next thing to try: strace on that ghc command-line.

I now have a vague recollection of what the problem might be.  Aha!
Found it.  See this message, and the followup:

http://www.haskell.org/pipermail/glasgow-haskell-bugs/2002-September/002
694.html

You did install the RedHat 7.2 RPM, and not the 7.3/8.0 RPM, right?

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list