Stefan Westmeier writes:
> Hi,
> 
> last week someone here at our department installed a new gcc. We used
> to have 2.7.2.x and we have now 2.8.1. Suddenly our sources we
> compiled with ghc-2.10, ghc-3.00-1 and ghc-3.01 crashed. OK.
> 
> The old gcc can still be called as gcc.o. Exchanging gcc with gcc.o in
> the ghc driver fixed this problem. Fine.
> 
> But ... now I tried to compile a new ghc-3.01 with the "fixed"
> ghc-2.10 and guess ... it crashed :-(
> 

That's puzzling - this should be identical to compiling with 2.7.2,
no? Are you sure you're linking with 2.7.2 code and libraries? Notice
that gcc is called directly in a number of places when compiling ghc
from source (e.g., ghc/runtime/gmp and various bits in
ghc/compiler/parser/)

> How do I get out of this problem ? Do I have to proceed in a special
> way during compiling the compiler --- I already tried to ways --- or
> is it still not adopted to gcc 2.8.1 ?
> 

We've not tried 2.8.1, but compiling with pre-2.8.0 releases has been
seen to work OK.

--Sigbjorn

Reply via email to