From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28795 invoked by alias); 5 Jan 2002 01:31:42 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 28747 invoked from network); 5 Jan 2002 01:31:39 -0000 Received: from unknown (HELO palrel11.hp.com) (156.153.255.246) by sources.redhat.com with SMTP; 5 Jan 2002 01:31:39 -0000 Received: from psalpha0.cup.hp.com (psalpha0.cup.hp.com [15.13.189.230]) by palrel11.hp.com (Postfix) with ESMTP id 49794E000BB; Fri, 4 Jan 2002 17:31:39 -0800 (PST) Received: from dhcp66.cup.hp.com (postfix@dhcp66.cup.hp.com [15.8.80.66]) by psalpha0.cup.hp.com (8.9.3/8.8.6) with ESMTP id RAA06948; Fri, 4 Jan 2002 17:31:35 -0800 (PST) Received: from cup.hp.com (dhcp66.cup.hp.com [15.8.80.66]) by dhcp66.cup.hp.com (Postfix) with ESMTP id 00D6440AB; Fri, 4 Jan 2002 17:31:24 -0800 (PST) To: Krishnakumar B , linux-ia64@linuxia64.org, binutils@sources.redhat.com Subject: Re: [Linux-ia64] Compiling kernel 2.4.17 fails at link stage In-Reply-To: Message from Alan Modra of "Fri, 04 Jan 2002 22:20:51 +1030." <20020104222050.G1043@bubble.sa.bigpond.net.au> References: <15409.9574.749641.667685@samba.doc.wustl.edu> <20020104222050.G1043@bubble.sa.bigpond.net.au> Date: Fri, 04 Jan 2002 17:42:00 -0000 From: Grant Grundler Message-Id: <20020105013124.00D6440AB@dhcp66.cup.hp.com> X-SW-Source: 2002-01/txt/msg00071.txt.bz2 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