Re: gcc-4.2.0 breakage on powerpc?
From: Mikael Pettersson <hidden>
Date: 2007-05-19 17:28:27
Also in:
lkml
From: Mikael Pettersson <hidden>
Date: 2007-05-19 17:28:27
Also in:
lkml
On Sat, 19 May 2007 18:11:20 +0200, Segher Boessenkool wrote:
quoted
quoted
quoted
quoted
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