From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7086 invoked by alias); 8 Apr 2003 15:31:17 -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 7076 invoked from network); 8 Apr 2003 15:31:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 8 Apr 2003 15:31:16 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h38FVFe27703 for ; Tue, 8 Apr 2003 11:31:15 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h38FVFJ19930; Tue, 8 Apr 2003 11:31:15 -0400 Received: from workshop.nickc.cambridge.redhat.com.redhat.com (vpnuser5.stuttgart.redhat.com [172.16.4.5]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h38FV1302947; Tue, 8 Apr 2003 11:31:10 -0400 To: robert_f_sharp@platts.com Cc: binutils@sources.redhat.com Subject: Re: ld core dump References: <85256CFD.006681D6.00@corpnj148ls01.mcgraw-hill.com> From: Nick Clifton Date: Tue, 08 Apr 2003 15:31:00 -0000 In-Reply-To: <85256CFD.006681D6.00@corpnj148ls01.mcgraw-hill.com> Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-04/txt/msg00221.txt.bz2 Hi Robert, > bash-2.05$ /usr/local/tools/binutils/bin/as -v > GNU assembler version 2.13.2.1 (sparc-sun-solaris2.9) using BFD version 2.13.2.1 > > Compiling nsswitch/wb_common.c with -fPIC > Compiling nsswitch/winbind_nss_solaris.c with -fPIC > Linking nsswitch/libnss_winbind.so > collect2: ld terminated with signal 11 [Segmentation Fault] > /usr/local/tools/binutils/bin/ld: warning: sparc:v9 architecture of input file > `nsswitch/winbind_nss.po' is incompatible with sparc output > /usr/local/tools/binutils/bin/ld: warning: sparc:v9 architecture of input file > `nsswitch/wb_common.po' is incompatible with sparc output > /usr/local/tools/binutils/bin/ld: warning: sparc:v9 architecture of input file > `nsswitch/winbind_nss_solaris.po' is incompatible with sparc output > make: *** [nsswitch/libnss_winbind.so] Error 1 > > ld core dumps and does not go any futher, have I supplied enough info, anybody > have an idea why ld core dumps? Sorry - there is not really enough information to go on here. Do you know why the linker is complaining about the architecture mismatches ? (This may be at the root of the bug). ie are the input files really 'sparcv9' and is the output file really 'sparc' ? Are you able to reduce the problem to a small, reproducible test case? What is the complete command line that you are using ? Cheers Nick