Re: Please include const-sections into linux-next

James Bottomley
2011-10-19T20:14:24Z

On Wed, 2011-10-19 at 22:11 +0200, Andi Kleen wrote:
> > On Wed, 2011-10-19 at 15:04 -0500, James Bottomley wrote:
> >> this is probably something to do with writeable strings?
> >
> > Bingo! If I add -fno-writeable-strings to the compiler directives, it
> > works.
>
> Cool thanks. I assume the resulting kernel works.
>
> This means the pa compiler defaults to -fwritable-strings? Odd.
>
> Are you handling that or should I add a patch to the tree?

Actually, no, sorry ... its a false positive -fno-writeable-strings
actually produces an error which was lost in all the debug output (it's
at the top) so it wasn't working; I only thought it was.

James