This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Compiling kernel 2.4.17 fails at link stage
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Krishnakumar B <kitty at cs dot wustl dot edu>
- Cc: linux-ia64 at linuxia64 dot org, binutils at sources dot redhat dot com
- Date: Fri, 4 Jan 2002 22:20:51 +1030
- Subject: Re: Compiling kernel 2.4.17 fails at link stage
- References: <15409.9574.749641.667685@samba.doc.wustl.edu>
On Mon, Dec 31, 2001 at 08:56:38PM -0600, Krishnakumar B wrote:
>
> I am trying to compile kernel 2.4.17 (with davidm's patches
> linux-2.4.17-ia64-011226) using gcc-3.0.3 and binutils 2.11.92.0.12.3
> 20011121. I get the following error at final kernel link stage:
[snip]
> arch/ia64/kernel/kernel.o(.IA_64.unwind.text.exit+0x0): undefined reference to `local symbols in discarded section .text.exit'
It's a kernel bug exposed by recent binutils. You can either fix the
kernel by making the references weak, or hack around the problem by
adding -fnoinhibit-exec to the ld command line.
Alan