qualcomm / qualcomm/eld

eld errors out at CMake step when LLVM_TARGETS_TO_BUILD contains `x86`.

Open
#104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cmake enhancement
Dominant language
C++
Stars
259
Forks
84
Avg merge
2d 14h
Merged PRs (30d)
72

Description

eld errors out at CMake step with the below error when LLVM_TARGETS_TO_BUILD contains x86 as one of the targets:

CMake Error at tools/eld/lib/Target/CMakeLists.txt:28 (add_subdirectory):
  add_subdirectory given source X86 which is not an existing directory.

The error happens because eld expects the target name to be X86_64 instead of X86.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect tools/eld/lib/Target/CMakeLists.txt around line 28 and reproduce the CMake configuration with LLVM_TARGETS_TO_BUILD containing x86. Done means the configuration no longer fails with the missing X86 directory error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.