Re: Please include const-sections into linux-next

From: James Bottomley
Date: Wed Oct 19 2011 - 16:14:23 EST


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


--
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/