When use -msahf or -mcx16 in ALLOWED_FLAGS and CFLAGS, show this error: CPU config directory is cpu/i486 OS config directory is os/gnu-linux checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/x86_64-pc-linux-gnu/bin/nm checking how to recognise dependant libraries... file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib ) checking for object suffix... configure: error: installation or configuration problem; compiler does not work make: *** [configure-target-libstdc++-v3] Error 1 * ERROR: sys-libs/libstdc++-v3-3.3.6 failed: * (no error message) * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3054: Called die * The specific snippet of code: * emake all-target-libstdc++-v3 || die Reproducible: Always
Created attachment 218213 [details, diff] old_gcc336.diff to fix the problem
I would call this bug invalid, since those flags dont look like default ones, but i leave the decision to the herd.
that's why they're not in ALLOWED_FLAGS.
for best performance, of course
I use this flags for speed , and -msahf or -mcx16 are support in gcc >=4.3 but no in 3.x.x
which is why they're filtered by strip-flags. stop overriding the filter.