lkml.org 
[lkml]   [2011]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Please include const-sections into linux-next
From
Date
On Sat, 2011-10-15 at 16:03 -0700, David Rientjes wrote:
> On Fri, 14 Oct 2011, James Bottomley wrote:
>
> > It's not incredibly trivial: it causes a compile failure on parisc:
> >
> > mm/percpu.c:1372: error: __setup_str_percpu_alloc_setup causes a section
> > type conflict
> > make[1]: *** [mm/percpu.o] Error 1
> >
> > I have no idea why, though.
> >
>
> Not sure why this would only happen on parisc, but I haven't looked at it
> closely. It means something qualified with const is being defined in a
> section with other definitions that are not const, or vice versa.

I think it's probably a compiler bug. gcc isn't as adept with section
annotations as people think it is. This tends to manifest in the
non-x86 toolchains because we tend to be using earlier versions.

James




\
 
 \ /
  Last update: 2011-10-16 01:51    [W:0.077 / U:3.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site