This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: # of unexpected failures 768 ?


On 10/31/11 19:20, Jonathan Wakely wrote:
> On 31 October 2011 17:38, Rainer Orth wrote:
>> Dennis Clarke <dclarke@blastwave.org> 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.  In 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=pentium

When not configuring with '--host=i386-pc-solaris2.8', it is config.guess
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:
  $ uname -p           # Prints the current host's ISA or processor type.
  i386
  $ uname -i           # Prints the name of the platform.
  i86pc

So I'd wonder if '--host=i386-pc-solaris2.8' actually does make any difference here.

Just my 2 cents.

/haubi/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]