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: Alan Modra <amodra at bigpond dot net dot au>
- To: Grant Grundler <grundler at cup dot hp dot com>
- Cc: Krishnakumar B <kitty at cs dot wustl dot edu>, linux-ia64 at linuxia64 dot org, binutils at sources dot redhat dot com
- Date: Sat, 5 Jan 2002 12:29:01 +1030
- 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> <20020105013124.00D6440AB@dhcp66.cup.hp.com>
On Fri, Jan 04, 2002 at 05:31:24PM -0800, Grant Grundler wrote:
> 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:
Sorry, typo. --noinhibit-exec
> So how do I "make references weak"?
extern int foo __attribute__ ((weak));