sys-libs/libstdc++-v3-3.3.6 build failed: trying to use unfiltered system-wide CPPFLAGS with self-compiled xgcc (gcc 3.3.6). To reproduce just add any "new" gcc flag into CPPFLAGS (-msse4.1 or -fivopts or -ftree-loop-linear): CPPFLAGS="-ftree-loop-linear" emerge -1 libstdc++-v3 Solution: add 'CPPFLAGS=""' or 'CPPFLAGS="${CFLAGS}"' into "emake" commandline. (attaching in patch form) Reproducible: Always
Created attachment 200847 [details, diff] libstdc++-v3-3.3.6.ebuild patch
Why are you putting those flags in there in the first place? CPPFLAGS are flags that are passed to the preprocessor. Those flags aren't preprocessor flags. Are you mixing it up with CXXFLAGS?