Re: gcc-4.2.0 breakage on powerpc?

From: Mikael Pettersson
Date: Sat May 19 2007 - 13:28:28 EST


On Sat, 19 May 2007 18:11:20 +0200, Segher Boessenkool wrote:
> >>>> and we'll end up
> >>>> having major kernel releases which don't build on i386 with major
> >>>> gcc
> >>>> releases, which isn't altogether desirable.
> >>>
> >>> Yeah, like 4.2.0 with powerpc. Seems like no one tested it :-(
> >>
> >> Details please. What exactly are the gcc-4.2.0 problems on powerpc?
> >
> > http://gcc.gnu.org/PR31490 . Most stuff using named
> > sections won't build; that includes CONFIG_MODULES.
> > There is no viable workaround. The problem is being
> > handled. I'll post a patch for the kernel refusing
> > to build with this combination soon.
>
> [Cc:ing the PowerPC list]
>
> Oh btw, most likely this is a problem on 64-bit only.

I believe so too. PR31490 mostly talks about ppc64,
and I've built both ppc32 kernels and complex ppc32
user-space programs with gcc-4.2.0 without noticing
any regressions.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/