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, 27 Aug 2008, Brian Dessent wrote:

> "H.J. Lu" wrote:
> 
> > For Linux/x86, if gcc is configured for xxx-*-linux, the default arch should
> > be xxx for both 32bit and 64bit, where xxx can be i[3456]86, pentium, ...
> > x86-64.  Is someone working on such a patch?
> 
> IMHO making this Linux specific just replaces one confusing and
> arbitrary decision with another.  Why should --target=i686-*-linux imply
> -march=686 when, say, --target=i686-*-freebsd or --target=i686-*-elf
> still implies -march=386?  If you want to imply a default -march from
> the target specification (and I think that's a perfectly good thing to
> want to do) then it should apply to all x86 targets equally.  If that's

My proposal is exactly that the target triplet should imply -march on x86 
- just as it implies -mcpu on SPARC where -mcpu means -march rather than 
-mtune.

-- 
Joseph S. Myers
joseph@codesourcery.com


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