From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6490 invoked by alias); 1 Apr 2010 14:23:42 -0000 Received: (qmail 6151 invoked by uid 22791); 1 Apr 2010 14:23:39 -0000 X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,TW_BJ,TW_CX,TW_DC X-Spam-Check-By: sourceware.org Received: from mail-vw0-f47.google.com (HELO mail-vw0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 01 Apr 2010 14:23:34 +0000 Received: by vws15 with SMTP id 15so533565vws.20 for ; Thu, 01 Apr 2010 07:23:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.90.201 with HTTP; Thu, 1 Apr 2010 07:23:32 -0700 (PDT) In-Reply-To: <201004011414.o31EE6Eu001210@impdell3.impactweather.local> References: <201004011414.o31EE6Eu001210@impdell3.impactweather.local> Date: Thu, 01 Apr 2010 14:23:00 -0000 Received: by 10.220.126.197 with SMTP id d5mr406392vcs.121.1270131812067; Thu, 01 Apr 2010 07:23:32 -0700 (PDT) Message-ID: Subject: Re: Bootstrap failures on i386-pc-solaris2.10 From: "H.J. Lu" To: Art Haas Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-04/txt/msg00002.txt.bz2 On Thu, Apr 1, 2010 at 7:14 AM, Art Haas wrote: > Hi. > > My builds on my X86 solaris box have failed since yesterday, and > I've just found bug 43615 in Bugzilla which indicates a different > but similar issue for an x86-64 build.I'm running Solaris 10 on an > older Dell box with a Pentium4 chip, and have been building > gcc with the '--disable-multilib' argument for quite some time. > > Here's the config info from the last build which worked: > > $ gcc -v > Using built-in specs. > COLLECT_GCC=3Dgcc > COLLECT_LTO_WRAPPER=3D/export/home/arth/local/libexec/gcc/i386-pc-solaris= 2.10/4.5.0/lto-wrapper > Target: i386-pc-solaris2.10 > Configured with: /home/ahaas/gnu/gcc.git/configure --prefix=3D/export/hom= e/arth/local --enable-languages=3Dc,c++,objc,fortran --disable-nls --with-g= mp=3D/export/home/arth/local --with-mpfr=3D/export/home/arth/local --enable= -checking=3Drelease --enable-threads --with-gnu-as --with-as=3D/export/home= /arth/local/bin/as --with-gnu-ld --with-ld=3D/export/home/arth/local/bin/ld= --disable-multilib --disable-libstdcxx-pch --enable-objc-gc --build=3Di386= -pc-solaris2.10 --with-arch=3Dpentium4 --with-tune=3Dpentium4 > Thread model: posix > gcc version 4.5.0 20100330 (experimental) (GCC) > > Here's the last bits of today's build log - the '--disable-multilib' conf= igure > option should have skipped the 'amd64' stuff below ... > > config.status: executing default commands > Adding multilib support to Makefile in /home/ahaas/gnu/gcc.git/libgcc > multidirs=3Damd64 > with_multisubdir=3D > Running configure in multilib subdirs amd64 > pwd: /export/home/arth/gnu/gcc-0401/i386-pc-solaris2.10/libgcc > Running configure in multilib subdir amd64 > pwd: /export/home/arth/gnu/gcc-0401/i386-pc-solaris2.10 > mkdir amd64 > configure: creating cache ./config.cache > checking for --enable-version-specific-runtime-libs... no > checking for a BSD-compatible install... /export/home/arth/local/bin/gins= tall -c > checking for gawk... gawk > checking build system type... i386-pc-solaris2.10 > checking host system type... i386-pc-solaris2.10 > checking for i386-pc-solaris2.10-ar... /export/home/arth/local/i386-pc-so= laris2.10/bin/ar > checking for i386-pc-solaris2.10-lipo... lipo > checking for i386-pc-solaris2.10-nm... /export/home/arth/gnu/gcc-0401/./g= cc/nm > checking for i386-pc-solaris2.10-ranlib... /export/home/arth/local/i386-p= c-solaris2.10/bin/ranlib > checking for i386-pc-solaris2.10-strip... /export/home/arth/local/i386-pc= -solaris2.10/bin/strip > checking whether ln -s works... yes > checking for i386-pc-solaris2.10-gcc... /export/home/arth/gnu/gcc-0401/./= gcc/xgcc -B/export/home/arth/gnu/gcc-0401/./gcc/ -B/export/home/arth/local/= i386-pc-solaris2.10/bin/ -B/export/home/arth/local/i386-pc-solaris2.10/lib/= -isystem /export/home/arth/local/i386-pc-solaris2.10/include -isystem /exp= ort/home/arth/local/i386-pc-solaris2.10/sys-include =A0-m64 > checking for suffix of object files... configure: error: in `/export/home= /arth/gnu/gcc-0401/i386-pc-solaris2.10/amd64/libgcc': > configure: error: cannot compute suffix of object files: cannot compile > See `config.log' for more details. > make[2]: *** [configure-stage1-target-libgcc] Error 1 > make[2]: Leaving directory `/export/home/arth/gnu/gcc-0401' > make[1]: *** [stage1-bubble] Error 2 > make[1]: Leaving directory `/export/home/arth/gnu/gcc-0401' > make: *** [bootstrap-lean] Error 2 > > The 'config.log' file from the 'i386-pc-solaris2.10/amd64/libgcc' directo= ry > fails with errors regard the x86-64 instructions ... > > configure:3211: checking for suffix of object files > configure:3233: /export/home/arth/gnu/gcc-0401/./gcc/xgcc -B/export/home/= arth/gnu/gcc-0401/./gcc/ -B/export/home/arth/local/i386-pc-solaris2.10/bin/= -B/export/home/arth/local/i386-pc-solaris2.10/lib/ -isystem /export/home/a= rth/local/i386-pc-solaris2.10/include -isystem /export/home/arth/local/i386= -pc-solaris2.10/sys-include =A0-m64 -c -g -O2 =A0 conftest.c >&5 > conftest.c:1:0: error: CPU you selected does not support x86-64 instructi= on set > conftest.c:1:0: error: CPU you selected does not support x86-64 instructi= on set > configure:3237: $? =3D 1 > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "GNU C Runtime Library" > | #define PACKAGE_TARNAME "libgcc" > | #define PACKAGE_VERSION "1.0" > | #define PACKAGE_STRING "GNU C Runtime Library 1.0" > | #define PACKAGE_BUGREPORT "" > | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" > | /* end confdefs.h. =A0*/ > | > | int > | main () > | { > | > | =A0 ; > | =A0 return 0; > | } > configure:3251: error: in `/export/home/arth/gnu/gcc-0401/i386-pc-solaris= 2.10/amd64/libgcc': > configure:3254: error: cannot compute suffix of object files: cannot comp= ile > See `config.log' for more details. > > My builds on a sparc-sun-solaris2.10 from yesterday worked fine - on > this machine GCC does _not_ use the '--disable-multilib' configuration > switch. This mornings build has just started. > > My thanks to everyone working on GCC. > > Art Haas > It may be related to http://gcc.gnu.org/ml/gcc-patches/2010-03/msg01483.html --=20 H.J.