building of gcc-4.7.1 will fail because avx is not supported Reproducible: Always Steps to Reproduce: 1. I want build gcc-4.7.1 on intel atom 425 2. -mno-avx added to cflags 3. gcc will try to build avx code because of not proper HAVE_AS_AVX detection
Created attachment 323642 [details] emerge info
Created attachment 323644 [details, diff] avx.patch I dont know how to make 100% proper avx detection, but this patch works fine for me
please post the actual build log as an attachment
Created attachment 323710 [details] build.log.gz the problem is simple: it started to compile code that it should not compile. for example: /var/tmp/portage/sys-devel/gcc-4.7.1/work/gcc-4.7.1/libitm/config/x86/x86_avx.cc:83:1: error: ‘_ITM_TYPE_M256’ does not name a type
*** This bug has been marked as a duplicate of bug 417271 ***