| Summary: | www-client/chromium-65.0.3294.5 fails to compile: invalid linker name in argument '-fuse-ld=lld' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
| Component: | Current packages | Assignee: | Chromium Project <chromium> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Miroslav Šulc
2017-12-18 13:23:46 UTC
i just got exactly the same error with www-client/chromium-64.0.3282.24 i found out sys-devel/lld is not pulled in by chromium, which i guess was the cause What version of clang are you using? $ equery list clang * Searching for clang ... [IP-] [ ] sys-devel/clang-5.0.0:5 Heh, this was working by accident for me because I have "-fuse-ld=gold" in LDFLAGS, which overrides the -fuse-ld=lld injected by the build system. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01b116d0d18bca42b6b1c9bb8285af993b72bb1c commit 01b116d0d18bca42b6b1c9bb8285af993b72bb1c Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2017-12-18 16:56:56 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-12-18 16:57:18 +0000 www-client/chromium: disable forced -fuse-ld=lld Closes: https://bugs.gentoo.org/641556 Package-Manager: Portage-2.3.19_p1, Repoman-2.3.6_p35 www-client/chromium/chromium-64.0.3282.24.ebuild | 3 +++ www-client/chromium/chromium-65.0.3294.5.ebuild | 3 +++ 2 files changed, 6 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00129840d4988ff105623ff33f6a5b8ce50309fe commit 00129840d4988ff105623ff33f6a5b8ce50309fe Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2018-01-22 16:20:29 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2018-01-22 16:20:29 +0000 www-client/chromium: apply use_lld fix to M63 Bug: https://bugs.gentoo.org/641556 Closes: https://bugs.gentoo.org/645334 www-client/chromium/chromium-63.0.3239.132.ebuild | 3 +++ 1 file changed, 3 insertions(+)} As I have LDFLAGS="-fuse-ld=lld" in my environment for compiling chromium, I wonder if it would not be cleaner to have a use flag for this (defaulting to false, of course). (In reply to Ingo Brunberg from comment #8) > As I have LDFLAGS="-fuse-ld=lld" in my environment for compiling chromium, I > wonder if it would not be cleaner to have a use flag for this (defaulting to > false, of course). That should work fine, though you may need to enable the "custom-cflags" USE flag. Disableing use_lld just prevents the chromium build system from forceably adding it. |