Re: [RFC] Crash on modpost, addend_386_rel()

From: Sam Ravnborg
Date: Tue May 22 2007 - 02:58:45 EST


On Mon, May 21, 2007 at 10:01:27PM -0400, Ben Collins wrote:
> Got this crash in modpost. Bisect blames this commit:
>
> commit f892b7d480eec809a5dfbd6e65742b3f3155e50e
> Author: Atsushi Nemoto <anemo@xxxxxxxxxxxxx>
> Date: Thu May 17 01:14:38 2007 +0900
> kbuild: make better section mismatch reports on i386, arm and mips
>
> On i386, ARM and MIPS, warn_sec_mismatch() sometimes fails to show
> usefull symbol name. This is because empty 'refsym' due to 0 r_addend
> value. This patch is to adjust r_addend value, consulting with
> apply_relocate() routine in kernel code.
>
> Sorry, I don't know enough about the elf stuff to fix this up myself.
> Config that causes it is at the end.

Thanks. Linus already reported the same in private mail and I asked him to
revert this commit which he has done by now.
When properly fixed it will be re-added but this time it will cook
a little in -mm first.

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/