Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942381 - genkernel or x86_64-pc-linux-gnu-clang issue: invalid linker name in argument '-fuse-ld=lld'
Summary: genkernel or x86_64-pc-linux-gnu-clang issue: invalid linker name in argument...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 02:16 UTC by Alec Stewart
Modified: 2024-11-02 16:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Genkernel output (genkernel-output.log,3.41 KB, text/x-log)
2024-10-28 02:16 UTC, Alec Stewart
Details
emerge --info (emerge-info-2024-10-27.log,9.29 KB, text/x-log)
2024-10-28 02:17 UTC, Alec Stewart
Details
my genkernel.conf (alecStewart1-genkernel.conf,13.99 KB, text/plain)
2024-10-28 02:17 UTC, Alec Stewart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Stewart 2024-10-28 02:16:44 UTC
Created attachment 907094 [details]
Genkernel output

Following the configuration here: https://wiki.gentoo.org/wiki/Clang#Genkernel

Apparently using ld.lld doesn't work? I'm assuming this is a x86_64-pc-linux-gnu-clang issue.
Comment 1 Alec Stewart 2024-10-28 02:17:17 UTC
Created attachment 907095 [details]
emerge --info
Comment 2 Alec Stewart 2024-10-28 02:17:39 UTC
Created attachment 907096 [details]
my genkernel.conf
Comment 3 Mike Gilbert gentoo-dev 2024-10-28 19:28:20 UTC
Is sys-devel/lld installed?
Comment 4 Alec Stewart 2024-10-28 21:02:49 UTC
(In reply to Mike Gilbert from comment #3)
> Is sys-devel/lld installed?

Uh I'm pretty sure since I've used it to compile some other packages, but I can double check later anyway.
Comment 5 Alec Stewart 2024-10-31 13:28:54 UTC
Yup. lld is installed.
Comment 6 Alec Stewart 2024-11-01 20:09:35 UTC
Ah, it's from using 

mold run

with genkernel. So I guess it's a mold related thing.