It seems that firefox uses lld when clang is used as a compiler, but the package dependency states that I need both gold(from llvm[gold]) and lld if [clang] flag is turned on. I think the gold linker can be safely removed from DEPEND when the [clang] flag is enabled. Reproducible: Always
I've auto-removed [gold] from the ebuild since firefox-69.* or so myself, and have llvmgold is not installed (also -gold on binutils) I know it _did_ use to be needed but I'm not sure anymore. Firefox does have a bundled LLVMgold.so.zip though (maaaaybe it's getting used when normally you'd want the system's? not sure though), so I kinda suspected there could be something more going on so I never opened a bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d523c2051222bb5ab591efe8f1abc03508bdc4d5 commit d523c2051222bb5ab591efe8f1abc03508bdc4d5 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-09-30 02:16:14 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-09-30 02:16:49 +0000 www-client/firefox: fix gold linker deps Closes: https://bugs.gentoo.org/732712 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/firefox-78.3.0.ebuild | 9 +++++---- www-client/firefox/firefox-81.0.ebuild | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-)