Re: Detecting section mismatches in vmlinux

From: Sam Ravnborg
Date: Sat Feb 24 2007 - 15:08:47 EST


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
-
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/