------- Comment #2 from jue at jue dot li 2010-04-14 19:15 ------- Actually I want a i686 configured gcc and gcc should be able to compile glibc without setting -march to something different, that's how it works with any older gcc 4.x.
As you can see in my supplied examples, gcc 4.5.0 sets -march to pentiumpro whereas gcc 4.4.3 doesn't set -march at all, which is IMO the preferable behaviour. Adding optimization options should be the task of the calling application via CFLAGS. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43750