public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] x86 toolchain changes heads up
  @ 2007-07-18 19:47 99%   ` Mike Frysinger
  0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2007-07-18 19:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 894 bytes --]

On Wednesday 18 July 2007, Chris Gianelloni wrote:
> On Tue, 2007-07-17 at 19:47 -0400, Mike Frysinger wrote:
> > historically, gcc on x86 has always defaulted to i386.  some people
> > noticed recently that glibc-2.6 fails to build in this situation as they
> > were only setting -mtune via CFLAGS, not -march.  i'll be tweaking gcc so
> > that it will default -march based on your CHOST.  so all the i686-*
> > people will now have a default -march=i686 implied in their gcc systems,
> > i586-* people will have -march=i586, etc...  keep in mind this is merely
> > the default.
>
> Have you spoken with upstream about this?  Is there any way they would
> adopt it there?

my reading of the code is that they do this on purpose.  they set the default 
*tune* based on target, not arch.  the gcc man page also quotes that the 
default -march is i386 if no -march is set.
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-07-17 23:47     [gentoo-dev] x86 toolchain changes heads up Mike Frysinger
2007-07-18 19:05     ` Chris Gianelloni
2007-07-18 19:47 99%   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox