From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16869 invoked by alias); 2 Nov 2011 11:41:44 -0000 Received: (qmail 16858 invoked by uid 22791); 2 Nov 2011 11:41:43 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wy0-f175.google.com (HELO mail-wy0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Nov 2011 11:41:24 +0000 Received: by wyh5 with SMTP id 5so39616wyh.20 for ; Wed, 02 Nov 2011 04:41:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.229.227 with SMTP id h77mr1659987weq.51.1320234083495; Wed, 02 Nov 2011 04:41:23 -0700 (PDT) Received: by 10.216.90.19 with HTTP; Wed, 2 Nov 2011 04:41:23 -0700 (PDT) In-Reply-To: <4EB0E8AA.6030508@salomon.at> References: <45937.10.0.66.17.1320081754.squirrel@interact.purplecow.org> <4EB0E8AA.6030508@salomon.at> Date: Wed, 02 Nov 2011 11:41:00 -0000 Message-ID: Subject: Re: # of unexpected failures 768 ? From: Jonathan Wakely To: Michael Haubenwallner 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: 2011-11/txt/msg00047.txt.bz2 On 2 November 2011 06:52, Michael Haubenwallner wrote: > > On 10/31/11 19:20, Jonathan Wakely wrote: >> On 31 October 2011 17:38, Rainer Orth wrote: >>> Dennis Clarke writes: >>> >>>>>> I'm uncertain if Solaris 8/x86 still supports bare i386 machines, so= it >>>>>> might be better to keep the default of pentiumpro instead. >>>>> >>>>> Solaris 8 won't run on anything less than pentium, I recently >>>>> convinced someone else to stop building GCC for i386 on Solaris: >>>>> >>>>> http://gcc.gnu.org/ml/gcc-help/2011-10/msg00005.html >> >> Quite. =A0In fact there are *very* good reasons not to configure for >> 80386: libstdc++'s configure uses the default arch being configured >> for, and disables a number of features on i386 because it doesn't >> support the required atomic ops. >> >> So by configuring for i386 you will distribute a GCC package that is >> missing useful features, but supports an ancient architecture that >> Solaris doesn't even run on. >> >> You should configure for pentium-pc-solaris2.8 or use --with-arch-32=3Dp= entium > > When not configuring with '--host=3Di386-pc-solaris2.8', it is config.gue= ss > that detects 'i386-pc-solaris2.8', just tried here with most recent > config.guess on i86pc Solaris2.10, result is 'i386-pc-solaris2.10'. > > Actually, it is uname showing the 'i386' on Solaris: > =A0$ uname -p =A0 =A0 =A0 =A0 =A0 # Prints the current host's ISA or proc= essor type. > =A0i386 > =A0$ uname -i =A0 =A0 =A0 =A0 =A0 # Prints the name of the platform. > =A0i86pc > > So I'd wonder if '--host=3Di386-pc-solaris2.8' actually does make any dif= ference here. It's redundant if you *want* to build for that host, but the whole point is that building for i386 is usually a very bad idea, so --host=3Di586-pc-solaris2.8 would be better.