Re: mtdblock with gcc 2.95.4 patch

Adrian Bunk (bunk@fs.tum.de)
Sat, 31 Aug 2002 23:27:17 +0200 (CEST)


On Tue, 20 Aug 2002, Alex Pelts wrote:

> Hi,

Hi Alex,

> After installing new debian stable with gcc 2.95.4, kernel 2.4.17
> stopped linking. The error is "undefined reference to local symbols...".
>...
> something tricky about __exit macro and 2.95.4 compiler.
> For people getting error:
> drivers/mtd/mtdlink.o(.text.lock+0x26c): undefined reference to `local
> symbols in discarded section .text.exit'

this is a known issue with recent binutils - and it's considered to be a
bug in the kernel.

> here is the patch that seems to fix it.

I do currently not understand why your patch should fix it. Could you send
me the .config you used to reproduce the problem in 2.4.19?

> Thanks,
> Alex
>...

TIA
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/