On Thu, 18 Feb 2010, Jason Merrill wrote:

> I periodically get bitten by bug 34115: a compiler configured without
> --with-arch on i686-pc-linux-gnu doesn't support atomics.  I think we would
> only need to bump the default to i486 to get atomic support.  Can we
> reconsider the default for 4.5?

My position remains that configuring for i686-* should default to 
-march=i686 rather than -mtune=i686.

http://gcc.gnu.org/ml/gcc/2008-06/msg00223.html
http://gcc.gnu.org/ml/gcc/2008-08/msg00445.html

Perhaps someone would like to review HJ's patch to that effect?

http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02078.html

This will probably break building glibc, as problems building when __i686 
is a predefined macro have been known since at least 2002 but none of the 
many patches proposed since then have been accepted.

http://sourceware.org/ml/libc-alpha/2002-10/msg00156.html
 ...
http://sourceware.org/ml/libc-alpha/2009-07/msg00072.html

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to