This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Recent libstdc++ regression on i686-linux: abi/cxx_runtime_only_linkage.cc


On Wed, Aug 27, 2008 at 10:15 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Fri, 22 Aug 2008, Richard Henderson wrote:
>
>> H.J. Lu wrote:
>> > Can we declare that Linux/ia32 generates i486 insn by default?
>>
>> We the gcc team?  I'm not sure.  For now I'll say no.
>>
>> We an individual linux distributor?  Certainly.
>> In fact I would be surprised if i586 wasn't a
>> decent minimum these days.
>
> glibc has certainly required -march=i486 or greater for some time to build
> for IA32; it will fail to link for -march=i386 because of missing atomic

Given that glibc requires -march=i486, I think Linux/ia32 should default
to i486.

> operations.  (And I hold that i686-* should mean -march=i686 default not
> -mcpu=i386 and similarly x86_64-* -m32 should default to -march=x86_64,
> subject to --with-arch etc. in both cases.)
>

I think i[4-6]86-*-linux and x86_64-*-linux should default to i486 at minimum
for 32bit.



-- 
H.J.


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