[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#429385: g++-4.1: Internal Compiler Error



On Sunday 16 September 2007, Matthias Klose wrote:
> tag 429385 + moreinfo
> thanks
>
> please recheck with gcc-4.2/gcc-snapshot from unstable
>
> David Baron writes:
> > On Monday 18 June 2007, Falk Hueffner wrote:
> > > David Baron <d_baron@012.net.il> writes:
> > > > Package author posts:
> > > >> Better compile using G++-4.0. 4.1 fails with an internal compiler
> > > >> error compiling ToneStack.cc. I filed a bug for the debian G++-4.1
> > > >> as instructed.  G++-4.0 compiles fine.
> > > >
> > > > Just edit the makefile and swap "-O3" with "-O2" in the OPTS
> > > > section.  The FSF doesnt seem to be kidding when they say -O2 is the
> > > > only tested optimisation level for GCC.
> > >
> > > This is bullshit. The FSF does not say anything about things like
> > > this, because they are not directly involved in gcc development.
> > >
> > > > Released software should be compiled with "-O2" IMHO.
> > >
> > > This is true, though, since the Debian policy mandates it, unless
> > > there's a good reason not to (e.g., it has been found to give a
> > > significant performance advantage to use -O3).
> >
> > Would love to. Someone playing with same compile tried -o6!
> > However, as I posted, -o3 would compile with G++4.0 but not with G++4.1,
> > thus this bug.
> >
> > (Meanwhile, am I better off with the -o3 4.0 compile or with the -o2 4.1
> > compile? )
> >
> > BTW, others reported various but related problems with 64-bit compiles.
> > Reported on Linux Audio User's List
> > linux-audio-user@lists.linuxaudio.org. I would assume their site has an
> > archive where the whole thread could be viewed. I will forward this
> > response to this list as well.
> >
Muse0.9.*, Muse1.0pre, both do a lot of compiles with -O3 and there has been 
no internal error with recent g++ et al. However, these builds have been 
segfaulting consistantly. Whether this relates to this bug I do not know. (To 
go through all their makefiles and change all of this is a bit too much and 
the configure optimization options do not effect this, it seems.)

I do not recall what I was building when I go that error message but the -O3 
compilations in Muse do not produce the error.

-O2 seems to work fine in builds where this is specified.





Reply to: