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
signature.asc
Description: This is a digitally signed message part.