From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4927 invoked by alias); 8 Dec 2004 08:53:01 -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 4672 invoked from network); 8 Dec 2004 08:52:41 -0000 Received: from unknown (HELO eufig1.rit.reuters.com) (194.205.123.3) by sourceware.org with SMTP; 8 Dec 2004 08:52:41 -0000 Received: from no.name.available by eufig1.rit.reuters.com via smtpd (for [12.107.209.250]) with SMTP; 8 Dec 2004 08:52:34 UT Received: from uknsprd1 (unverified) by dtcseuvig5.dtc.lon.ime.reuters.com (Content Technologies SMTPRS 4.3.14) with ESMTP id for ; Wed, 8 Dec 2004 08:52:31 +0000 Received: from dtcsmsxb01.emea.ime.reuters.com ([10.5.150.13]) by eupig2.dtc.lon.ime.reuters.com (PMDF V6.2-X17 #30843) with ESMTP id <0I8E00MCTBBII3@eupig2.dtc.lon.ime.reuters.com> for gcc-help@gcc.gnu.org; Wed, 08 Dec 2004 08:52:30 +0000 (GMT) Received: from PTXSMSXM01.emea.ime.reuters.com ([150.151.96.137]) by dtcsmsxb01.emea.ime.reuters.com with Microsoft SMTPSVC (5.0.2195.6713); Wed, 08 Dec 2004 08:52:29 +0000 Date: Wed, 08 Dec 2004 08:53:00 -0000 From: Santanu Misra Subject: bootstarp fails with gcc-3.4.3 solaris 10 on sparc release s10_69 To: gcc-help@gcc.gnu.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: quoted-printable Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-OriginalArrivalTime: 08 Dec 2004 08:52:29.0729 (UTC) FILETIME=[3FBE4110:01C4DD03] X-SW-Source: 2004-12/txt/msg00071.txt.bz2 Hello group, =20 I am trying to build gcc 3.4.3 on Solaris SPARC. Configure works fine but make bootstrap fails. I am using Sun CC(cc: Forte Developer 7 C 5.4 2002/03/09) I tried my best to find an answer myself on the internet but could not. Any help will be great. =20 Here are the details =20 1. Solaris 10 release Oct/2004 or s10_69 from /etc/release 2. gcc 3.4.3 3. I have this installed in my /usr/local and few of them does not make any sense but it was easier it list all. =20 autoconf-2.59.tar.gz=20=20=20=20 bison-1.875.tar.gz=20=20=20=20=20=20=20 grep-2.5.tar.gz=20=20=20=20=20=20=20=20=20 make-3.80.tar.gz automake-1.9.3.tar.gz=20=20=20 flex-2.5.4a.tar.gz=20=20=20=20=20=20 libiconv-1.9.1.tar.gz=20=20 sed-4.1.2.tar.gz bzip2-1.0.2 m4-1.4.2 tar-1.14(gnutar) =20 4. I used 'ksh' and bash same result. 5. This is also set CC "cc -xildoff -xarch=3Dv9" 6. My path and LD_LIBRARY_PATH=20 Path -- > /usr/local/bin:/appli/sunpro2/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/us r/ucb:/usr/etc:/usr/lib:/usr/openwin/bin:/usr/openwin/demo:/usr/ccs/bin LD_LIBRRAY_PATH -- >/usr/local/lib:/usr/lib =20 7. And I use this command to configure=20 =20 ../configure --prefix=3D/usr/local --with-as=3D/usr/ccs/bin/as --with-ld=3D/usr/ccs/bin/ld --disable-nls --enable-thread=3Dsolaris =20 --enable-languages=3Dc,c++ sparcv9-sun-solaris2.10 =20 8. Error from 'make bootstrap' =20 make[2]: Entering directory `/local/downloads/gcc-3.4.3/objdir/gcc' stage1/xgcc -Bstage1/ -B/usr/local/sparcv9-sun-solaris2.10/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition -DHAVE_CONFIG_H -DGENERATOR_FILE -o genmodes \ genmodes.o errors.o ../libiberty/libiberty.a ld: warning: file ../libiberty/libiberty.a(hashtab.o): wrong ELF class: ELFCLASS32 =20 Undefined first referenced symbol in file htab_create_alloc genmodes.o htab_find genmodes.o xcalloc genmodes.o htab_hash_string genmodes.o htab_find_slot genmodes.o xmalloc genmodes.o xstrdup genmodes.o ld: fatal: Symbol referencing errors. No output written to genmodes collect2: ld returned 1 exit status make[2]: *** [genmodes] Error 1 make[2]: Leaving directory `/local/downloads/gcc-3.4.3/objdir/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/local/downloads/gcc-3.4.3/objdir/gcc' make: *** [bootstrap] Error 2 =20 =20 =20 =20 Thanks =20 Santanu Misra --------------------------------------------------------------- - Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.