Absolute path needed for dlltool
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 119k
- Forks
- 16.1k
- PR merge metrics
- PR metrics pending
Description
Problem
I tried to build Rust v1.96.0 from sources and got the error
error: error calling dlltool 'prebuilts/clang/host/linux-x86/clang-r584948b/bin/
llvm-dlltool': No such file or directory (os error 2)
Possible Solution(s)
The error when away when I changed the relative path to an absolute path to dlltool. I wonder if this was an intentional side-effect. If so should the documentation be updated to say an absolute path is needed.
Notes
No response
Version
v1.96.0
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 with the rustc dlltool codegen-option documentation and reproduce the v1.96.0 build using the reported relative and absolute paths to prebuilts/clang/host/linux-x86/clang-r584948b/bin/llvm-dlltool. Determine whether relative paths are intended to work; done means either relative paths work correctly or the documentation clearly states the absolute-path requirement, with coverage for the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100