Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clippy-driver +stage1 doesn't work: error while loading shared libraries: librustc_driver-2731d3486cc92946.so #113109

Open
ComputerDruid opened this issue Jun 27, 2023 · 1 comment
Labels
A-clippy Area: Clippy A-miri Area: The miri tool C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@ComputerDruid
Copy link
Contributor

I tried this code:

$ ./x.py build --stage=1 clippy
$ rustup toolchain link stage1 build/host/stage1
$ clippy-driver +stage1 --version

I expected to see this happen: working clippy built from the same source as my stage1 rustc

Instead, this happened:

/usr/local/google/home/computerdruid/.rustup/toolchains/stage1/bin/clippy-driver: error while loading shared libraries: librustc_driver-2731d3486cc92946.so: cannot open shared object file: No such file or directory

Meta

rustc +stage1 --version --verbose:

rustc 1.71.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.71.0-dev
LLVM version: 16.0.2

git rev-parse HEAD: e9e1bbc

@ComputerDruid ComputerDruid added the C-bug Category: This is a bug. label Jun 27, 2023
@tmandry tmandry added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-clippy Area: Clippy labels Jun 27, 2023
@jyn514
Copy link
Member

jyn514 commented Jun 30, 2023

this is basically the same problem as #78717 (cc #92538). i don't think there's an open issue specifically for running the tool directly so I'll keep this one open in the meantime.

@jyn514 jyn514 added the A-miri Area: The miri tool label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-clippy Area: Clippy A-miri Area: The miri tool C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

3 participants