From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19462 invoked by alias); 23 Jul 2010 15:35:42 -0000 Received: (qmail 19439 invoked by uid 22791); 23 Jul 2010 15:35:38 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from comm.purplecow.org (HELO comm.purplecow.org) (210.87.62.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Jul 2010 15:35:06 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-1 Received: from interact.purplecow.org ([127.0.0.1]) by comm.purplecow.org (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPA id <0L600085GOMERJ30@comm.purplecow.org> for gcc@gcc.gnu.org; Sat, 24 Jul 2010 01:35:02 +1000 (EST) Received: from interact.purplecow.org ([10.0.66.17] helo=interact.purplecow.org) with IPv4:25 by ASSP.nospam; Sat, 24 Jul 2010 01:35:02 +1000 Received: from 10.0.66.17 (proxying for unknown) (SquirrelMail authenticated user dclarke@blastwave.org) by interact.purplecow.org with HTTP; Fri, 23 Jul 2010 11:35:02 -0400 (EDT) Message-id: <56510.10.0.66.17.1279899302.squirrel@interact.purplecow.org> Date: Fri, 23 Jul 2010 15:35:00 -0000 Subject: Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org From: Dennis Clarke To: Rainer Orth Cc: dclarke@blastwave.org, Richard Guenther , gcc@gcc.gnu.org Reply-to: dclarke@blastwave.org User-Agent: SquirrelMail/1.4.11 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-07/txt/msg00353.txt.bz2 > Dennis Clarke writes: > >> FYI , bug 44455 is a show stopper in the Solaris world. >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455 > > This is > > bootstrap/44455 GCC fails to build if MPFR 3.0.0 (Release Candidate) is used > > Why would this be a showstopper? Who forces you to build and install mpfr 3.0.0? OpenSolaris comes with 2.4.1, and older versions don't OpenSolaris is not a production release run by anyone anywhere :-) > have mpfr bundled at all, so just use a version that works with GCC, building it in-tree if you must. OKay .. I guess details are needed. If I place the latest mpfr and gmp and mpc and ppl and cloog in tree then the build fails in stage one very early with bizarre warning about not being able to find gmp rev greater than 4.3.1 despite the face that I have already built and tested : GMP: include 4.3.2, lib 4.3.2 MPFR: include 3.0.0-p3, lib 3.0.0-p3 MPC: include 0.8.2, lib 0.8.2 Those would all be installed in /usr/local with no surprises. Regardless .. the build fails with the same message as bugid 44455. Of course I try with gmp-5.0.1 first and that also fails so long as ppl is around in the tree. So I throw away ppl and cloog ( which I have *never* seen build on Solaris 10 anyways ) and then the build fails a little later with : make[3]: Leaving directory `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/gcc' mkdir i386-pc-solaris2.10/libgcc Checking multilib configuration for libgcc... Configuring stage 1 in i386-pc-solaris2.10/libgcc configure: creating cache ./config.cache checking for --enable-version-specific-runtime-libs... no checking for a BSD-compatible install... /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c checking for gawk... nawk checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for i386-pc-solaris2.10-ar... ar checking for i386-pc-solaris2.10-lipo... lipo checking for i386-pc-solaris2.10-nm... /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm checking for i386-pc-solaris2.10-ranlib... ranlib checking for i386-pc-solaris2.10-strip... strip checking whether ln -s works... yes checking for i386-pc-solaris2.10-gcc... /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/ -B/usr/local/gcc4/i386-pc-solaris2.10/bin/ -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem /usr/local/gcc4/i386-pc-solaris2.10/include -isystem /usr/local/gcc4/i386-pc-solaris2.10/sys-include checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/ -B/usr/local/gcc4/i386-pc-solaris2.10/bin/ -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem /usr/local/gcc4/i386-pc-solaris2.10/include -isystem /usr/local/gcc4/i386-pc-solaris2.10/sys-include accepts -g... yes checking for /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/ -B/usr/local/gcc4/i386-pc-solaris2.10/bin/ -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem /usr/local/gcc4/i386-pc-solaris2.10/include -isystem /usr/local/gcc4/i386-pc-solaris2.10/sys-include option to accept ISO C89... none needed checking how to run the C preprocessor... /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/ -B/usr/local/gcc4/i386-pc-solaris2.10/bin/ -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem /usr/local/gcc4/i386-pc-solaris2.10/include -isystem /usr/local/gcc4/i386-pc-solaris2.10/sys-include -E checking whether decimal floating point is supported... no checking whether fixed-point is supported... no checking for __attribute__((visibility("hidden")))... no checking whether the target assembler supports thread-local storage... yes checking whether the thread-local storage support is from emutls... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default commands Adding multilib support to Makefile in ../../../gcc-4.5.1-RC-20100722/libgcc multidirs=amd64 with_multisubdir= Running configure in multilib subdirs amd64 pwd: /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/i386-pc-solaris2.10/libgcc Running configure in multilib subdir amd64 pwd: /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/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/dclarke/build/GCC/gcc-4.5.1-RC-20100722/install-sh -c checking for gawk... nawk checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for i386-pc-solaris2.10-ar... ar checking for i386-pc-solaris2.10-lipo... lipo checking for i386-pc-solaris2.10-nm... /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/nm checking for i386-pc-solaris2.10-ranlib... ranlib checking for i386-pc-solaris2.10-strip... strip checking whether ln -s works... yes checking for i386-pc-solaris2.10-gcc... /export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/xgcc -B/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/./gcc/ -B/usr/local/gcc4/i386-pc-solaris2.10/bin/ -B/usr/local/gcc4/i386-pc-solaris2.10/lib/ -isystem /usr/local/gcc4/i386-pc-solaris2.10/include -isystem /usr/local/gcc4/i386-pc-solaris2.10/sys-include -m64 checking for suffix of object files... configure: error: in `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001/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/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/export/home/dclarke/build/GCC/gcc-4.5.1-RC-20100722-001' make: *** [all] Error 2 [fortius] My configure line was : ../gcc-4.5.1-RC-20100722/configure --with-gnu-as \ --with-as=/opt/csw/bin/gas --without-gnu-ld \ --with-ld=/usr/ccs/bin/ld --with-cpu-32=i386 \ --with-cpu-64=opteron --with-arch-32=i386 \ --with-arch-64=opteron --enable-stage1-languages=c \ --enable-nls --with-libiconv-prefix=/usr/local \ --enable-threads=posix --with-gmp=/usr/local \ --with-mpfr=/usr/local --with-mpc=/usr/local \ --prefix=/usr/local/gcc4 --with-local-prefix=/usr/local \ --enable-shared --enable-multilib --with-system-zlib \ --with-pkgversion=Blastwave.org\ Inc.\ Fri\ Jul\ 23\ 03\:16\:26\ GMT\ 2010 \ --with-bugurl=http\:\/\/www.blastwave.org\/support \ --enable-languages=c,c++,objc,fortran --enable-bootstrap If I go back and rebuild gmp mpfr and mpc thus : GMP: include 5.0.1, lib 5.0.1 MPFR: include 3.0.0-p3, lib 3.0.0-p3 MPC: include 0.8.2, lib 0.8.2 Then try to bootstrap GCC 4.4.4 and it all just works. -- Dennis Clarke dclarke@opensolaris.ca <- Email related to the open source Solaris dclarke@blastwave.org <- Email related to open source for Solaris