-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rustc cann't be build if stage0 compiler built with custom libdir #72661
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
With debug logs enabled:
Failed:
|
When I use pre-built stage0 compiler:
|
This
With system compiler 1.43.1 same is:
|
I suppose compiler awaits library in
|
Lines 644 to 653 in 4512721
While stage0 compiler can have custom libdir this function returns |
Make bootstrap aware of relative libdir in stage0 compiler Follows up rust-lang#72692 Fixes rust-lang#72661
Stage0 compiler is the same 1.43.1 compiler but with libdir set to
lib/rust-1.43.1
.Build log: build-fail.log.gz
Build fails on
cfg-if
crate while it was successfully built beforellvm
:Successfull:
Failed:
The first have dependencies set to in arguments
--extern compiler_builtins=/tmp/portage/dev-lang/rust-1.43.1/work/rustc-1.43.1-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-70d65a289aa56fa5.rmeta --extern core=/tmp/portage/dev-lang/rust-1.43.1/work/rustc-1.43.1-src/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/deps/librustc_std_workspace_core-4f06cf76701dce3d.rmeta
.The text was updated successfully, but these errors were encountered: