Re: Bug#122773: marked as done (general: Can't compile linux kernel 2.4.16.)
On Thu, 6 Dec 2001, Debian Bug Tracking System wrote:
> > drivers/sound/sounddrivers.o(.data+0x194): undefined reference to `local symbols in discarded section .text.exit'
> > I'm using the latest gcc in the sid packages.
>
> That's a kernel bug. Read the linux-kernel archives of recent. Newer
> binutils exposed some bad logic.
More like bad assumptions in code (it assumed that binutils would stay
quiet about the problem forever :-P). Looks to be more of an oversight
than anything else.
> IIRC, the workaround is to enable Hotplug.
I don't think that helps. The original patch was to surround the
offending lines with '#ifdef MODULE', which wouldn't work in the case of
hotplug support. IIRC, the corrected change was '#if defined(MODULE) ||
defined(HOTPLUG)' or something like that. The kernel list is a much
better reference than my brain atm, though :-P
C
Reply to: