Re: What does this error mean? "local symbols in discarded section .text.exit"

From: Jose Luis Domingo Lopez (
Date: Fri Aug 02 2002 - 08:52:18 EST

On Friday, 02 August 2002, at 09:29:09 -0400,
jeff millar wrote:

> I need some help debugging this kernel build problem.
> drivers/built-in.o(.data+0x80f4): undefined reference to `local symbols in
> discarded section .te
> xt.exit'
> make: *** [vmlinux] Error 1
A know problem with some combinations of binutils and kernel sources. As
Debian bintuils package says:

x You may experience problems linking older (and some newer) kernels with x
x this version of binutils. This is not because of a bug in the linker, x
x but rather a bug in the kernel source. This is being worked out and x
x fixed by the upstream kernel group in newer kernels, but not all of the x
x problems may have been fixed at this time. Older kernel versions will x
x almost always exhibit the problem, however, and no attempts are being x
x made to fix those that we know of. x
x x
x There are a few work-arounds, but the most reliable is to edit the x
x linker script for your architecture (e.g. arch/i386/ and x
x remove the '*(.text.exit)' entry from the 'DISCARD' line. It will x
x bloat the kernel somewhat, but it should link properly. x


Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:19 EST