Re: [PATCH 07/27] Initconst section fixes for POWERPC

From: Andi Kleen
Date: Thu Sep 15 2011 - 19:10:58 EST


> I'm not arguing against the patch. I just want to poke around with
> what you're reporting. Where can one get the toolkit?

You currently need a gcc 4.7, HJ Lu's binutils, a rather largish patchkit
of mine to enable a kernel LTO build and then it doesn't quite build yet
due to some gcc bugs, but gets far enough to complain about invalid
section attribute mismatches.

I think the people who originally introduced initconst* triggered
it in the linker, but I'm not fully sure how they did it.
What happens is that the linker silently has to change the 'r'
attribute of that section, this can be flagged.

-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
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/