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

x test rustc_interface --stage 0 is broken again #109314

Closed
jyn514 opened this issue Mar 18, 2023 · 1 comment · Fixed by #114480
Closed

x test rustc_interface --stage 0 is broken again #109314

jyn514 opened this issue Mar 18, 2023 · 1 comment · Fixed by #114480
Assignees
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@jyn514
Copy link
Member

jyn514 commented Mar 18, 2023

I tried this code:

x test --stage 0 rustc_interface

I expected to see this happen: All tests pass.

Instead, this happened:

     Running unittests src/lib.rs (build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_interface-a5db7347e5f1d566)
/home/jyn/src/rust2/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_interface-a5db7347e5f1d566: error while loading shared libraries: libLLVM-15-rust-1.70.0-nightly.so: cannot open shared object file: No such file or directory
error: test failed, to rerun pass `-p rustc_interface --lib`

Meta

HEAD is branched from 13afbda

@jyn514 jyn514 added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels Mar 18, 2023
@onur-ozkan
Copy link
Member

@rustbot claim

onur-ozkan added a commit to onur-ozkan/rust that referenced this issue Aug 7, 2023
In some cases(see rust-lang#109314), when the stage0
compiler relies on more recent version of LLVM than the beta compiler, it may not
be able to locate the correct LLVM in the sysroot. This situation typically occurs
when we upgrade LLVM version while the beta compiler continues to use an older version.

Signed-off-by: ozkanonur <work@onurozkan.dev>
@bors bors closed this as completed in ebbd715 Aug 13, 2023
github-actions bot pushed a commit to rust-lang/miri that referenced this issue Aug 16, 2023
…mulacrum

copy the correct version of LLVM into the stage0 sysroot

In some cases(see rust-lang/rust#109314), when the stage0
compiler relies on more recent version of LLVM than the beta compiler, it may not
be able to locate the correct LLVM in the sysroot. This situation typically occurs
when we upgrade LLVM version while the beta compiler continues to use an older version.

Fixes #109314
lnicola pushed a commit to lnicola/rust-analyzer that referenced this issue Apr 7, 2024
…mulacrum

copy the correct version of LLVM into the stage0 sysroot

In some cases(see rust-lang/rust#109314), when the stage0
compiler relies on more recent version of LLVM than the beta compiler, it may not
be able to locate the correct LLVM in the sysroot. This situation typically occurs
when we upgrade LLVM version while the beta compiler continues to use an older version.

Fixes #109314
RalfJung pushed a commit to RalfJung/rust-analyzer that referenced this issue Apr 27, 2024
…mulacrum

copy the correct version of LLVM into the stage0 sysroot

In some cases(see rust-lang/rust#109314), when the stage0
compiler relies on more recent version of LLVM than the beta compiler, it may not
be able to locate the correct LLVM in the sysroot. This situation typically occurs
when we upgrade LLVM version while the beta compiler continues to use an older version.

Fixes #109314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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

Successfully merging a pull request may close this issue.

2 participants