From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13133 invoked by alias); 5 Jan 2002 01:59:05 -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 12853 invoked from network); 5 Jan 2002 01:59:04 -0000 Received: from unknown (HELO mta04ps.bigpond.com) (144.135.25.136) by sources.redhat.com with SMTP; 5 Jan 2002 01:59:04 -0000 Received: from bubble.local ([144.135.25.75]) by mta04ps.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GPG0I200.AXW for ; Sat, 5 Jan 2002 12:06:02 +1000 Received: from CPE-144-136-176-14.sa.bigpond.net.au ([144.136.176.14]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V3.0h 89/3238162); 05 Jan 2002 11:59:02 Received: (qmail 23720 invoked by uid 179); 5 Jan 2002 01:59:01 -0000 Date: Fri, 04 Jan 2002 19:21:00 -0000 From: Alan Modra To: Grant Grundler Cc: Krishnakumar B , linux-ia64@linuxia64.org, binutils@sources.redhat.com Subject: Re: [Linux-ia64] Compiling kernel 2.4.17 fails at link stage Message-ID: <20020105015901.GF21859@bubble.sa.bigpond.net.au> Mail-Followup-To: Grant Grundler , Krishnakumar B , linux-ia64@linuxia64.org, binutils@sources.redhat.com References: <15409.9574.749641.667685@samba.doc.wustl.edu> <20020104222050.G1043@bubble.sa.bigpond.net.au> <20020105013124.00D6440AB@dhcp66.cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020105013124.00D6440AB@dhcp66.cup.hp.com> User-Agent: Mutt/1.3.25i X-SW-Source: 2002-01/txt/msg00073.txt.bz2 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));