https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70454
--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Wed Apr 20 14:41:55 2016 New Revision: 235287 URL: https://gcc.gnu.org/viewcvs?rev=235287&root=gcc&view=rev Log: Don't build 32-bit libatomic with -march=i486 on x86-64 Gcc uses the same -march= for both -m32 and -m64 on x86-64 unless --with-arch-32= is used. There is no need for -march=i486 to compile 32-bit libatomic on x86-64. PR target/70454 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile 32-bit x86 target library on x86-64. Modified: trunk/libatomic/ChangeLog trunk/libatomic/configure.tgt