Skip to content

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

Open
@ComputerDruid

Description

@ComputerDruid

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clippyArea: ClippyA-miriArea: The miri toolC-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions