Summary: | www-client/firefox-132.0.1-r1: Wrong error message about missing lld for clang and lto | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Klaus Kusche <klaus.kusche> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | carlphilippreh, kangie, klaus.kusche, mackal.cook, mattst88 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=943116 https://bugs.gentoo.org/show_bug.cgi?id=943109 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Klaus Kusche
2024-11-09 19:59:58 UTC
Pretty sure tc-ld-is-lld is calling probably checking with GCC. I did end up setting up a /etc/portage/env with `LDFLAGS="${LDFLAGS} -fuse-ld=lld"` and built fine. Personally I would favor removing the tc-ld-is-lld check and just depend on the ebuild fixing the toolchain itself, I'm not aware of this ever being an issue, but I could be wrong. I removed the check from the ebuild and ran the ebuild again. It finished successfully, and looking at the running processes, it compiled with clang, linked with lld, and had the thinlto options set for both. (In reply to Michael Cook from comment #1) > Personally I would favor removing the tc-ld-is-lld check and just depend on > the ebuild fixing the toolchain itself, I'm not aware of this ever being an > issue, but I could be wrong. See the discussion in bug 943109. I think this issue is sorted now, see comments in bug 943116. The current firefox-132.0.1-r1.ebuild ebuild works for me. Fixed at least for my settings. |