Summary mainly says it, the new version introduces flag --disable-arch-native to avoid injecting -march=native all over the place and re-allows qemu and cross compilations Reproducible: Always Steps to Reproduce: emerge =net-proxy/squid-3.4.4 Actual Results: gawk -f ./mk-string-arrays.awk < ./icp_opcode.h > icp_opcode.cc || (/bin/rm -f -f icp_opcode.cc && exit 1) gawk -f ./mk-string-arrays.awk < ./LogTags.h | sed 's/LOG_//' > LogTags.cc || (/bin/rm -f -f LogTags.cc && exit 1) gawk -f ./mk-string-arrays.awk < ./lookup_t.h > lookup_t.cc || (/bin/rm -f -f lookup_t.cc && exit 1) /bin/sh ./repl_modules.sh lru heap > repl_modules.cc x86_64-pc-linux-gnu-g++ -march=native -o cf_gen ./cf_gen.cc -I. -I../include/ -I../src ./cf_gen.cc:1:0: error: CPU you selected does not support x86-64 instruction set /* ^ Makefile:7730: recipe for target 'cf_gen' failed make[1]: *** [cf_gen] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/tmp/portage/net-proxy/squid-3.4.4/work/squid-3.4.4/src' Makefile:561: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 * ERROR: net-proxy/squid-3.4.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-proxy/squid-3.4.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-proxy/squid-3.4.4::gentoo'`. * The complete build log is located at '/home/tmp/portage/net-proxy/squid-3.4.4/temp/build.log'. * The ebuild environment file is located at '/home/tmp/portage/net-proxy/squid-3.4.4/temp/environment'. * Working directory: '/home/tmp/portage/net-proxy/squid-3.4.4/work/squid-3.4.4' * S: '/home/tmp/portage/net-proxy/squid-3.4.4/work/squid-3.4.4' CPU report from /proc/cpuinfo, running x86-64 just fine although gcc processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 2 model name : QEMU Virtual CPU version 1.4.0 stepping : 3 microcode : 0x1 cpu MHz : 3500.026 cache size : 4096 KB physical id : 7 siblings : 1 core id : 0 cpu cores : 1 apicid : 7 initial apicid : 7 fpu : yes fpu_exception : yes cpuid level : 4 wp : yes flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl pni cx16 popcnt hypervisor lahf_lm bogomips : 6999.79 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:
econf --disable-arch-native [...]
--- squid-3.4.4.ebuild 11 Mar 2014 21:01:40 -0000 1.2 +++ squid-3.4.4.ebuild 8 Apr 2014 22:03:20 -0000 @@ -182,6 +182,7 @@ --enable-follow-x-forwarded-for \ --with-large-files \ --disable-strict-error-checking \ + --disable-arch-native \ $(use_with caps libcap) \ $(use_enable ipv6) \ $(use_enable snmp) \
+ 09 Apr 2014; Eray Aslan <eras@gentoo.org> squid-3.4.4.ebuild: + Do not inject automagic -march=native - bug #507178. Thanks to Jeroen Roovers +
Thanks to Markus Ullmann for reporting! :)