From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31641 invoked by alias); 17 Jul 2002 01:43:36 -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 31633 invoked from network); 17 Jul 2002 01:43:35 -0000 Received: from unknown (HELO mta04ps.bigpond.com) (144.135.25.136) by sources.redhat.com with SMTP; 17 Jul 2002 01:43:35 -0000 Received: from bubble.local ([144.135.25.75]) by mta04ps.bigpond.com (Netscape Messaging Server 4.15 mta04ps May 23 2002 23:53:28) with SMTP id GZDDUI00.DNS for ; Wed, 17 Jul 2002 11:37:30 +1000 Received: from CPE-144-136-176-14.sa.bigpond.net.au ([144.136.176.14]) by PSMAM03.mailsvc.email.bigpond.com(MailRouter V3.0n 89/6944123); 17 Jul 2002 11:37:29 Received: (qmail 9203 invoked by uid 179); 17 Jul 2002 01:37:28 -0000 Date: Tue, 16 Jul 2002 18:51:00 -0000 From: Alan Modra To: John David Anglin Cc: binutils@sources.redhat.com Subject: Re: SIGSEGV in ld at elflink.h:5500 Message-ID: <20020717013728.GQ30362@bubble.sa.bigpond.net.au> Mail-Followup-To: John David Anglin , binutils@sources.redhat.com References: <200207170034.g6H0YeFv027076@hiauly1.hia.nrc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207170034.g6H0YeFv027076@hiauly1.hia.nrc.ca> User-Agent: Mutt/1.3.25i X-SW-Source: 2002-07/txt/msg00395.txt.bz2 On Tue, Jul 16, 2002 at 08:34:40PM -0400, John David Anglin wrote: > Looking at the history of the above, I see that the bug being fixed > had sym_sec->output_section set to bfd_abs_section. The code in this > case was also being compiled with "-ffunction-sections" and we seem to > have the same problem, but on hppa64. Looking at your original email again.. :) I see that what's happening is that you're trying to output a dynamic symbol from a removed linkonce section. You need to find why ld is trying to do that, or in fact why ld is outputting dynamic symbols for debugging sections. -- Alan Modra IBM OzLabs - Linux Technology Centre