Re: Lots of unexpected non-allocatable section warnings

From: Andreas Schwab
Date: Sun May 03 2009 - 14:18:45 EST


Jean Delvare <khali@xxxxxxxxxxxx> writes:

> Hi Sam,
>
> Thanks for your swift answer.
>
> On Sun, 3 May 2009 12:30:10 +0200, Sam Ravnborg wrote:
>> On Sun, May 03, 2009 at 11:05:17AM +0200, Jean Delvare wrote:
>> > Hi Anders, Sam,
>> >
>> > After your fix "kbuild, modpost: Check the section flags, to catch
>> > missing ax/aw", I get a lot of warnings like the following during
>> > modpost on x86-64:
>> >
>> > WARNING: arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.o (.comment.SUSE.OPTs): unexpected non-allocatable section.
>> > Did you forget to use "ax"/"aw" in a .S file?
>> > Note that for example <linux/init.h> contains
>> > section definitions for use in .S files.
>> >
>> > Apparently there's one such warning for every module on my system, that
>> > is, 907. That's a lot, and pretty annoying. How do I solve this? I don't
>> > know much about assembly.
>>
>> Cannot reproduce here..
>
> Given the name of the section, I presume it is somewhat SUSE-specific.
> I'm running openSUSE 11.1.

The section is created by the SUSE compiler and contains a summary of
the options used for compiling the file. It should be treated like a
.comment section.

Andreas.

--
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
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/