mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Detecting section mismatches in vmlinux
Date: Sat, 24 Feb 2007 21:07:56 +0100	[thread overview]
Message-ID: <20070224200756.GA9417@uranus.ravnborg.org> (raw)
In-Reply-To: <20070225.035315.25909736.anemo@mba.ocn.ne.jp>

On Sun, Feb 25, 2007 at 03:53:15AM +0900, Atsushi Nemoto wrote:
> 
> This is a dirty hack to check all built-in.o just after linking
> vmlinux.  But this can not detect mismatches in libs.a files, and
> modpost fails with "... is truncated" message on empty built-in.o
> files.
> 
> Maybe checking at each $(LD) invocation should detect all mismatches,
> but I'm not familer with kbuild to do it by myself.  Could someone
> make perfect solution?

I would prefer to find out why it fails when running the check
on full vmlinux.
Your suggestion is like papering over the real bug - and only
if something prevent us from detecting this in full
vmlinux should we do it for each LD invocation.

	Sam

  reply	other threads:[~2007-02-24 20:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 15:57 Atsushi Nemoto
2007-02-24 18:53 ` Atsushi Nemoto
2007-02-24 20:07   ` Sam Ravnborg [this message]
2007-02-24 23:25   ` Sam Ravnborg
2007-02-25 15:48     ` Atsushi Nemoto
2007-02-25 20:53       ` [PATCH] x86_64: fix section mismatch warnings Sam Ravnborg
2007-02-27 20:25         ` Andrew Morton

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=20070224200756.GA9417@uranus.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=anemo@mba.ocn.ne.jp \
    --cc=linux-kernel@vger.kernel.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

Powered by JetHome