This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: # of unexpected failures 768 ?
- From: Dennis Clarke <dclarke at blastwave dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Michael Haubenwallner <michael dot haubenwallner at salomon dot at>, gcc at gcc dot gnu dot org
- Date: Thu, 03 Nov 2011 11:32:19 -0400 (EDT)
- Subject: Re: # of unexpected failures 768 ?
- Reply-to: dclarke at blastwave dot org
> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> Ian Lance Taylor <iant@google.com> writes:
>>
>>> Michael Haubenwallner <michael.haubenwallner@salomon.at> writes:
>>>
>>>> But still: given that x86-solaris started with some Pentium, I just
>>>> can't believe gcc can "optimize" for real 80386 CPU on Solaris now.
>>>>
>>>> Especially as i386 (from config.guess) is the default too.
>>>
>>> I'm not sure why you don't believe it. It is what I would expect.
>>>
>>> If we want to make this work more normally for ordinary users, I think
>>> the right thing to do would be to patch config.guess to compute a
>>> better
>>> value for the build system CPU on Solaris systems.
>>
>> Please no: alpha went this route, and the consequence is that your
>> self-built gcc will generate code for the build system. This breaks
>> completely if you have a heterogeneous collection of systems, and the
>> GCC build system isn't the least common denominator of them. This
>> single-system mindset creates unnecessary trouble in this scenario.
>> GCC's configure has enough control over the default target CPU, even
>> without messing with config.guess, and most other programs won't care
>> about this at all.
>
> Oh, I completely agree that it would be wrong to have config.guess
> produce the exact CPU used on the build system.
>
> But having config.guess produce "i386" for an OS which does not even run
> on a vanilla i386 is also wrong. A much better choice here would be the
> earliest CPU value which the OS actually supports.
$ isalist -v
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
I would suggest pentium_pro if one can still find one running out there.
Dennis
--
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke | Solaris and Linux and Open Source |
| dclarke@blastwave.org | Respect for open standards. |
+-------------------------+-----------------------------------+