CMAKE_LINKER not set from target.*.linker when building LLVM
Open
Nobody has claimed this yet.
C-bug
T-bootstrap
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
bootstrap sets e.g. CMAKE_C_COMPILER from target..cc, and other similar cmake variables, with the notable exception of not setting CMAKE_LINKER from target..linker.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in bootstrap by comparing how target..cc populates CMake variables with the missing target..linker handling. Trace the LLVM build configuration and verify that CMAKE_LINKER is set from target.*.linker; the LLVM build should then use the configured linker.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100