> George Russell ([EMAIL PROTECTED]) wrote:
>
> : This bug just won't go away, and I've tried everything,
> including upgrading to
> : gcc 2.95.2 and recompiling the 4.06 sources with the 4.04
> binary release.
> : But whenever the latest version of 4.06 tries to compile
> itself the result is:
> :
> : ../../driver/ghc-inplace -recomp -cpp -fglasgow-exts
> -fvia-C -Rghc-timing -O -split-objs -odir PrelBase -H20m
> -fcompiling-prelude -static -keep-hc-files-too
> -keep-s-files-too -H32m -K32m -H30m -O -O2-for-C -c
> PrelBase.lhs -o PrelBase.o -osuf o
> : Segmentation Fault
> :
> : I've managed to compile a smaller program with 4.06
> (compiled from 4.04) without
> : problems.
> :
> : I am using Sparc/Solaris.
>
> Hi George,
>
>
> I reported a similar problem (also Sparc/Solaris) and haven't
> received any reply yet. I downgraded to gcc 2.8.1 and my problems
> were over.
>
> Regards,
>
>
> Marc van Dongen
> --
> Marc van Dongen, CS Dept | phone: +353 21 903578
> University College Cork, NUIC | Fax: +353 21 903113
> College Road, Cork, Ireland | Email: [EMAIL PROTECTED]
>
Our nightly build did a two-stage bootstrap last night on a Sparc/Solaris
system successfully:
~/builds > uname -a
SunOS gigha 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-5_10
~/builds > gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
Stage 1 was build with 4.04pl1 (make sure you have pl1!), and stage 2 was
bootstrapped. I've just done a stage 3 build too, which went through
without a hitch.
So I'm at a loss now: Marc reported that downgrading his gcc fixed the
problem. That suggests that it's a gcc bug, but we're using 2.95.2 here
without any difficulties.
There's also the outstanding build problem related to sigset_t, which I also
can't reproduce.
Any insight appreciated.
Cheers,
Simon