void-linux / void-linux/void-packages

= note: cc: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found

Open
#53,069 10 comments 1 reaction 0 assignees View on GitHub

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
  1. rustup
  2. cargo install vdash

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.