Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] x86 toolchain changes heads up
Date: Wed, 18 Jul 2007 21:30:59
In Reply to: Re: [gentoo-dev] x86 toolchain changes heads up by Chris Gianelloni
1 On Wednesday 18 July 2007, Chris Gianelloni wrote:
2 > On Tue, 2007-07-17 at 19:47 -0400, Mike Frysinger wrote:
3 > > historically, gcc on x86 has always defaulted to i386. some people
4 > > noticed recently that glibc-2.6 fails to build in this situation as they
5 > > were only setting -mtune via CFLAGS, not -march. i'll be tweaking gcc so
6 > > that it will default -march based on your CHOST. so all the i686-*
7 > > people will now have a default -march=i686 implied in their gcc systems,
8 > > i586-* people will have -march=i586, etc... keep in mind this is merely
9 > > the default.
10 >
11 > Have you spoken with upstream about this? Is there any way they would
12 > adopt it there?
14 my reading of the code is that they do this on purpose. they set the default
15 *tune* based on target, not arch. the gcc man page also quotes that the
16 default -march is i386 if no -march is set.
17 -mike


File name MIME type
signature.asc application/pgp-signature