Re: Link error with linux-2.5 bk

From: Andi Kleen <>
Date: 2004-01-22 05:11:52
On Wed, 21 Jan 2004 09:57:43 -0800
"Luck, Tony" <> wrote:

> > Andrew sent me the attached.  He seems to agree with your analysis & fix.
> Why didn't this show up on other architecture builds?  Doesn't anyone
> else discard .exit.text?  Or does everyone else have the default
> for CONFIG_DUMMY set to 'n' or 'm' rather than 'y'?

Most likely the later.

> I'd also like to nominate:
>  local symbol 0: discarded in section `.exit.text' from drivers/built-in.o

> for the "Least helpful error message" award(*).  From previous
> experience I know that this is caused by improper use of
> __exit ... but it would really help a lot if the message
> had an actual symbol name, rather than "local symbol 0".

It can be found using create application of objdump -Sr and nm.
I had this problem in the past too with other symbols (that is
why 2.6/i386 discards some sections at runtime, not in the linker)

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Jan 21 13:15:40 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST