Firefox is currently incompatible with Rust 1.45. See upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1640982 Both current and ESR releases are impacted. Reproducible: Always Steps to Reproduce: 1. Upgrade rust to 1.45 2. Attempt to emerge Firefox Actual Results: Compile will fail with error: error: options `-C embed-bitcode=no` and `-C lto` are incompatible error: could not compile `gkrust`. Expected Results: Successful compile and install Mozilla intends to fix the bug, but hasn't yet. There is a workaround given in the bug report, but it's fairly deep into the build process and the simpler thing for now would probably be to exclude rust-1.45 from the ebuild. End-user workaround for now: add =dev-lang/rust-1.45 to package.mask
Correction, correct line for workaround in package mask is: =dev-lang/rust-1.45.0 or =dev-lang/rust-1.45*
Didn't try but should already be fixed by https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c428c613d510ea9676a463067106612da92c57 and (for ESR) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5cb899dbdec54bff414db104ce7507cecd6bdcb