This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Linux-ia64] Compiling kernel 2.4.17 fails at link stage


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]