Sigbjorn Finne writes:
 > 
 > 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/)

I did proceed in two stages:

1) compile 3.01 with fixed 2.10. That is: 2.10 used gcc.o (2.7.2) via
driver but gcc (2.8.1) when gcc is called during compilation of 3.01.

2) Compile 3.01 with the 3.01 from the first stage. This one uses gcc
(2.8.1) via the driver and directly (runtime ...). When using this
compiler during make to compile the libraries it gets an error message
while compiling the first library module --- a pattern match error.

 > > 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.

Ciao, Stefan.
--
Stefan Westmeier                        [EMAIL PROTECTED]
BISS                                     vox humana: +(49) 421 218 4228
FB3 Uni Bremen                          fax machina: +(49) 421 218 3054

Stefan Westmeier                              [EMAIL PROTECTED]
Schaphuser Str. 24                        vox humana: +(49) 421  424001
D-28307 Bremen                           fax machina: +(49) 421  424045
Germany                                     cellular: +(49) 171 2672149    

Reply via email to