Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875605 - LLD should be slotted
Summary: LLD should be slotted
Status: RESOLVED DUPLICATE of bug 691900
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2022-10-06 09:53 UTC by yshuiv7
Modified: 2022-10-06 09:53 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description yshuiv7 2022-10-06 09:53:06 UTC
When using LTO, lld must have the exact same version as LLVM, because LLVM IR isn't compatible across versions. An older version of lld won't be able to link IR files generated by a newer LLVM, and vice versa. 

Since LLVM and Clang are slotted, this essentially means only one of the installed Clang versions will function properly with lld.

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-06 09:53:59 UTC

*** This bug has been marked as a duplicate of bug 691900 ***