[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090503124848.276b437f@hyperion.delvare>
Date: Sun, 3 May 2009 12:48:48 +0200
From: Jean Delvare <khali@...ux-fr.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Anders Kaseorg <andersk@....edu>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Lots of unexpected non-allocatable section warnings
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.
> Can you send me your config so I can try to see if this is toolchain
> version related.
Config attached.
> Also what version of gcc/binutils are you using?
$ gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
$ ld -v
GNU ld (GNU Binutils; openSUSE 11.1) 2.19
> Is this x86 and 32/64 bit?
x86, 64 bit. If you need anything else, let me know.
Thanks,
--
Jean Delvare
View attachment "config-jean" of type "text/plain" (75913 bytes)
Powered by blists - more mailing lists