From: Andi Kleen <andi@firstfloor.org>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org
Subject: Re: [PATCH] Disable modpost warnings for linkonce sections
Date: Sun, 11 May 2008 12:09:00 +0200 [thread overview]
Message-ID: <4826C5BC.6060203@firstfloor.org> (raw)
In-Reply-To: <20080511081156.GA25696@uranus.ravnborg.org>
Sam Ravnborg wrote:
> On Thu, May 08, 2008 at 01:41:11PM +0200, Andi Kleen wrote:
>> Disable modpost warnings for linkonce sections
>>
>> My build gives lots of warnings like
>>
>> WARNING: sound/core/snd.o (.gnu.linkonce.wi.mpspec_def.h.30779716): unexpected section name.
>> The (.[number]+) following section name are ld generated and not expected.
>> 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.
>>
>> But for .linkonce. duplicated sections are actually ok and expected.
>> So just disable the warning for this case.
>
> Agreed.
> Applied and pushed out.
There's still the "crap in /proc/kallsyms" problem like
0000000000000b0c N DW.aio.h.903a6d92.0
0000000000000b19 N DW.aio.h.903a6d92.1
0000000000000b24 N DW.aio.h.903a6d92.2
0000000000000bce N DW.task_io_accounting.h.8d8de327.0
Haven't not looked at that yet, but that needs to be fixed too.
-Andi
prev parent reply other threads:[~2008-05-11 10:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-08 11:41 [PATCH] Disable modpost warnings for linkonce sections Andi Kleen
2008-05-11 8:11 ` Sam Ravnborg
2008-05-11 10:09 ` Andi Kleen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4826C5BC.6060203@firstfloor.org \
--to=andi@firstfloor.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox