www-client/firefox-78.5.0:0/esr78::gentoo fails to build. The problem seems to be the -msse4.2 flag, which is a valid flag for gcc, but for some reason the CFLAGS in the environment contain -msse4_2 flag which is not a valid gcc flag (mind the underscore) I suspect that the CPU_FLAGS_X86 in make.conf is not treated properly. Reproducible: Always Steps to Reproduce: 1. try to compile www-client/firefox-78.5.0 with x86_64-pc-linux-gnu-9.3.0 2. configure will fail 3. Actual Results: configure will fail Expected Results: compilation and installation
Created attachment 677485 [details] build log
Created attachment 677488 [details] emerge info
Created attachment 677491 [details] emerge pretend
Created attachment 677494 [details] environ
> declare -x CFLAGS="-Ofast -march=native -pipe -funroll-loops -mfpmath=sse -msse4_2 -mavx2 -maes" Where is this coming from, some package.env file? ebuild nor firefox certainly wouldn't set a standards-breaking -Ofast, it also doesn't mangle -msse4.2 as far as I can test.
No, "-msse4_2" is coming from *your* environment. Please fix your CFLAGS.
(In reply to Thomas Deutschmann from comment #6) > No, "-msse4_2" is coming from *your* environment. Please fix your CFLAGS. Thank you Thomas, my bad. I didn't notice this.