Summary: | www-client/chromium: fails to link with sys-devel/mold-2.31.0 due to unknown "-llvm" parameter. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Buell <alex.buell> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | alex.buell, blackteahamburger, kangie, matthew, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/rui314/mold/issues/336 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 830404 | ||
Attachments: |
build.log
emerge --info |
Description
Alex Buell
2024-07-28 22:56:07 UTC
Created attachment 898482 [details]
build.log
Created attachment 898483 [details]
emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=213cf8bacaee8816cd161bf4f48879befede462d commit 213cf8bacaee8816cd161bf4f48879befede462d Author: Matt Jolly <kangie@gentoo.org> AuthorDate: 2024-08-07 10:26:20 +0000 Commit: Matt Jolly <kangie@gentoo.org> CommitDate: 2024-08-07 14:40:32 +0000 www-client/chromium: add 127.0.6533.99 Attempt to detect and `die` if ld is 'mold'. This is not supported and causes builds to fail when targets are linked. Bug: https://bugs.gentoo.org/936858 Bug: https://bugs.gentoo.org/937510 Closes: https://bugs.gentoo.org/936792 Signed-off-by: Matt Jolly <kangie@gentoo.org> www-client/chromium/Manifest | 2 + www-client/chromium/chromium-127.0.6533.99.ebuild | 1480 +++++++++++++++++++++ 2 files changed, 1482 insertions(+) Can you try to support mold instead of simply 'die'. See also https://github.com/rui314/mold/issues/336#issuecomment-1837256738 and https://github.com/rui314/mold/issues/336#issuecomment-1949930210. If someone wants to upstream a patchset that makes it work I'm more than happy to remove the check. I'll even cherry-pick the patch and get it working in Gentoo early. I don't really have the bandwidth to manage the additional overhead of supporting toolchain bits that are not supported and/or tested upstream and don't work with default build settings. I don't use mold, and we can barely support Clang + lld as it is, having dropped GCC for "it broke upstream" reasons a little while ago. In the short term, consider a package.env, or if on glibc amd64 the google toolchain (USE="-system-toolchain") I don't think this is a mold bug, really. It's Chromium using LLVM-specific options to the linker assuming it is lld. And if our Chromium maintainers in Gentoo aren't interested (entirely reasonably!) in patching Chromium for that, then it's WONTFIX. |