Re: Bug#122773: marked as done (general: Can't compile linux kernel 2.4.16.)
On Thu, Dec 06, 2001 at 11:12:54PM -0500, Christopher C. Chimelis wrote:
>
> 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
That's where I got the recommendation :) It changes the symatics of
__devexit, which changes the breakage.
Ben
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: