void-linux / void-linux/void-packages
= note: cc: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found
Open
Nobody has claimed this yet.
bug
needs-testing
- Dominant language
- Shell
- Stars
- 3.4k
- Forks
- 2.8k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 299
Description
Is this a new report?
Yes
System Info
Void 6.8.5-301.fc40.x86_64 x86_64-musl AuthenticAMD notuptodate rF
Package(s) Affected
gcc-13.2.0_2
Does a report exist for this bug with the project's home (upstream) and/or another distro?
No response
Expected behaviour
Successfully compilation
Actual behaviour
Doing:
cargo install vdash
I get:
.
.
= note: cc: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found
compilation terminated.
error: could not compile `libc` (build script) due to 1 previous error
error: failed to compile `vdash v0.18.1`, intermediate artifacts can be found at `/tmp/cargo-installFokYy0`.
Steps to reproduce
- rustup
- cargo install vdash
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 gcc-13.2.0_2 package and reproduce the failure using rustup followed by cargo install vdash. Check how the package provides the linker plugin required by the build, and consider the issue resolved when that command successfully compiles vdash without the missing liblto_plugin.so error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100