Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 878743 - sys-devel/clang: consider RDEPEND on slotted sys-devel/lld
Summary: sys-devel/clang: consider RDEPEND on slotted sys-devel/lld
Status: RESOLVED WONTFIX
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: 2022-10-29 17:17 UTC by Piotr Karbowski (RETIRED)
Modified: 2022-11-06 05:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2022-10-29 17:17:41 UTC
Currently we have no parity between lld and clang in terms of ensuring that we have compatible lld for given clang that is being installed. Kindly consider adding slotted lld into RDEPEND so we could seamlessly support, for example building Linux kernel with 'make LLVM=1' without build failures when never clang is installed but has no matching lld around.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-10-29 17:20:13 UTC
clang doesn't require using lld, and the regular Gentoo configuration is to use ld.bfd.
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2022-10-29 18:52:41 UTC
We have quite a few packages that have things they do not strictly need in RDEPENDS for the sake of users. That would make it easy to build kernels with clang, as opposite to manually making sure that lld is installed whenever new llvm/clang hits the tree. Would you reconsider?