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

Bug#336167: gcc-4.0: breaks kernel builds in random ways.



On Tue, Nov 01, 2005 at 01:33:35PM +0100, Thiemo Seufer wrote:
> Thiemo Seufer wrote:
> > Sven Luther wrote:
> > > Package: gcc-4.0
> > > Version: 4.0.2-3
> > > Severity: grave
> > > Justification: renders package unusable
> > > 
> > > 
> > > Well, i confirm that this problem is also present on powerpc, using
> > > gcc-4.0 4.0.2-3 makes the kernel build fail, while using -2 seems to be
> > > ok. I have heard people mentioning two other arches where this is the
> > > case (m68k and mips i think) on irc (on #debian-release i think even,
> > > not sure), but no bug has been filed so i do it now.
> > > 
> > > My powerpc builds failed with :
> > 
> > For mips 2.6.12, which built fine with gcc 4.0.2-2:
> > 
> >   CC [M]  fs/reiserfs/tail_conversion.o
> > fs/reiserfs/tail_conversion.c: In function 'direct2indirect':
> > fs/reiserfs/tail_conversion.c:138: internal compiler error:
> > Floating point exception
> > Please submit a full bug report,
> > with preprocessed source if appropriate.
> > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> > For Debian GNU/Linux specific bug reporting instructions,
> > see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
> > make[5]: *** [fs/reiserfs/tail_conversion.o] Error 1
> > make[4]: *** [fs/reiserfs] Error 2
> > 
> > Sorry, no testcase yet.
> 
> The attached testcase triggers this bug on mips-linux when compiled
> with "gcc -O2 -mabi=64 -c"
> 
> The appended patch reverts a single line of the diff between 4.0.2-2
> and 4.0.2-3 and lets the testcase succeed. I don't know that part of
> gcc enough to judge if it is a valid fix for the problem.
> 
> Sven, could you test if this fixes also the problem you see?

Ok, i will, altough i would need to rebuild gcc, so it will not be before
tomorrow that i can test it.

Friendly,

Sven Luther




Reply to: