From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11402 invoked by alias); 29 Mar 2005 06:51:46 -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 11381 invoked from network); 29 Mar 2005 06:51:41 -0000 Received: from unknown (HELO gizmo10ps.bigpond.com) (144.140.71.20) by sourceware.org with SMTP; 29 Mar 2005 06:51:41 -0000 Received: (qmail 1882 invoked from network); 29 Mar 2005 06:51:39 -0000 Received: from unknown (HELO psmam12.bigpond.com) (144.135.25.103) by gizmo10ps.bigpond.com with SMTP; 29 Mar 2005 06:51:39 -0000 Received: from cpe-144-136-221-26.sa.bigpond.net.au ([144.136.221.26]) by psmam12.bigpond.com(MAM REL_3_4_2a 234/35712612) with SMTP id 35712612; Tue, 29 Mar 2005 16:51:39 +1000 Received: by bubble.modra.org (Postfix, from userid 500) id 0F8931A096D; Tue, 29 Mar 2005 16:21:39 +0930 Date: Tue, 29 Mar 2005 13:54:00 -0000 From: Alan Modra To: Ben Elliston Cc: Anton Blanchard , binutils@sources.redhat.com Subject: Re: cvs binutils+gcc4.0 build fail Message-ID: <20050329065139.GG14407@bubble.modra.org> Mail-Followup-To: Ben Elliston , Anton Blanchard , binutils@sources.redhat.com References: <20050322212341.GD4980@krispykreme> <20050323083219.A21240@mailhub.air.net.au> <20050322222308.GE30711@bubble.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050322222308.GE30711@bubble.modra.org> User-Agent: Mutt/1.4i X-SW-Source: 2005-03/txt/msg00847.txt.bz2 On Wed, Mar 23, 2005 at 08:53:08AM +1030, Alan Modra wrote: > On Wed, Mar 23, 2005 at 08:32:19AM +1100, Ben Elliston wrote: > > > Does this look familiar? > > > > Not immediately. > > > > > /usr/local/ppc64-4.0/bin/powerpc-linux-ld: > > > .libs/wstring-inst.o(.eh_frame+0x13c8): R_PPC64_REL64 reloc against > > > `.gnu.linkonce.t._ZNKSbIwSt11char_traitsIwESaIwEE7compareEmmRKS2_mm': > > > error 2 > > > > So _bfd_final_link_relocate is returning bfd_reloc_outofrange. I > > suspect the remaining errors just cascade from that. As to why this > > is happening, I don't know. Alan? > > My guess is that the .gnu.linkonce.* section in question has been > removed because it's a duplicate, and something has gone wrong with > .eh_frame editing. We have had a lot of problems with linkonce > sections in the past, but I thought it was all OK now.. Something was indeed going wrong with eh_frame editing. It was being done twice due to my 2005-03-21 ppc64elf.em change. Oops. * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. (ppc_finish): Don't call bfd_elf_discard_info. * emultempl/hppaelf.em: Similarly. Index: ld/emultempl/ppc64elf.em =================================================================== RCS file: /cvs/src/src/ld/emultempl/ppc64elf.em,v retrieving revision 1.40 diff -u -p -r1.40 ppc64elf.em --- ld/emultempl/ppc64elf.em 21 Mar 2005 09:39:53 -0000 1.40 +++ ld/emultempl/ppc64elf.em 29 Mar 2005 06:37:13 -0000 @@ -32,9 +32,6 @@ cat >>e${EMULATION_NAME}.c <