gcc-4.2.0 breakage on powerpc?

Mikael Pettersson mikpe at it.uu.se
Sun May 20 03:28:05 EST 2007


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



More information about the Linuxppc-dev mailing list