From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28817 invoked by alias); 9 Sep 2002 22:19:04 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 28793 invoked from network); 9 Sep 2002 22:19:02 -0000 Received: from unknown (HELO dehli.ucdavis.edu) (169.237.104.162) by sources.redhat.com with SMTP; 9 Sep 2002 22:19:02 -0000 Received: from nova.ucdavis.edu (nova.ucdavis.edu [128.120.134.90]) by dehli.ucdavis.edu (8.11.6/8.11.0/virus-scan-4.0.1) with ESMTP id g89MJ0t05976 for ; Mon, 9 Sep 2002 15:19:01 -0700 (PDT) Received: from nova.ucdavis.edu (localhost [IPv6:::1]) by nova.ucdavis.edu (8.12.2+Sun/8.12.2) with ESMTP id g89MJ0H1016265 for ; Mon, 9 Sep 2002 15:19:00 -0700 (PDT) Received: (from gabor@localhost) by nova.ucdavis.edu (8.12.2+Sun/8.12.2/Submit) id g89MJ0KC016262; Mon, 9 Sep 2002 15:19:00 -0700 (PDT) From: Andy Gabor MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15741.7763.433276.174171@nova.ucdavis.edu> Date: Mon, 09 Sep 2002 15:19:00 -0000 To: gcc-help@gcc.gnu.org Subject: RE: make bootstrap failure -> libgcc.map: file format... X-SW-Source: 2002-09/txt/msg00069.txt.bz2 Turns out the answer for me was *not* to use GNU ld (binutils-2.13). Configuring with: setenv CC /opt/SUNWspro/bin/cc ../configure --enable-languages=c,c++ --with-ld=/usr/ccs/bin/ld Solved this problem. Andy On 9/9/2002 Andy Gabor wrote: > >Hi, > >Installed current binutils. > >Tried to build gcc-3.2 of ss u10 running solaris 9. > >Configured with: > >setenv CC /opt/SUNWspro/bin/cc >./configure --enable-languages=c,c++ > > >Build error: >gcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc && rm -f libgcc_s.so && ln -s libgcc_s.so.1 libgcc_s.so >/usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map: file format not recognized; treating as linker script >/usr/local/sparc-sun-solaris2.9/bin/ld:libgcc/./libgcc.map:1: parse error >collect2: ld returned 1 exit status > >There have been reports of other problems with libgcc.map but slightly >different error reports. > >Any insights appreciated > >Andy >===================================================================== >Andy Gabor - Department of Neurology, University of California, Davis >ajgabor@ucdavis.edu (530)754-5036 (FAX)