[Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris & Linux)
nheghathivhistha at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Dec 24 16:54:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113
--- Comment #12 from David Kredba <nheghathivhistha at gmail dot com> ---
(In reply to Jakub Jelinek from comment #8)
> That is a user error, just don't do that. As the user provided
> CFLAGS/CXXFLAGS override the default flags, you really shouldn't be using
> -mno-this and -mno-that when building gcc, because that will disable what is
> required to compile gcc successfully. If you want to build gcc to support
> some CPU that doesn't have AVX etc., just configure it for such a CPU.
I told it to GCC bootstrap (having C,XXFlags containing -march=native
-mtune=native -mno-sse4.2 -mno-sse4a -mno-avx -mno-3dnow) and it ignored it
completely.
More information about the Gcc-bugs
mailing list