This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Linux-ia64] Compiling kernel 2.4.17 fails at link stage
- From: Grant Grundler <grundler at cup dot hp dot com>
- To: Krishnakumar B <kitty at cs dot wustl dot edu>, linux-ia64 at linuxia64 dot org,binutils at sources dot redhat dot com
- Date: Fri, 04 Jan 2002 17:31:24 -0800
- Subject: Re: [Linux-ia64] Compiling kernel 2.4.17 fails at link stage
- References: <15409.9574.749641.667685@samba.doc.wustl.edu> <20020104222050.G1043@bubble.sa.bigpond.net.au>
Alan Modra wrote:
> 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.
I had added "-fnoinhibit-exec" to LINKFLAGS in linux/arch/ia64/Makefile
and got:
ld -f may not be used without -shared
make: *** [vmlinux] Error 1
So how do I "make references weak"?
thanks,
grant