-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Something about bootstrap stage0-sysroot broke with libLLVM #122913
Comments
Ah, |
I don't know whether this is intended or accidental, but something is up. I'm going to change backtrace to use |
I worked around it in rust-lang/backtrace-rs#602. It's probably the proper fix anyways. Still weird to have this, so I'll leave the issue open for you to figure out whether this is good and whether it matters. |
Nevermind, using that doesn't appear to work correctly, I suspect that this does need |
This is a recent regression from the bootstrap compiler bump PR #122754. |
Has anyone figured out what needs to be copied where and how? The conversation seems a bit spread out over different issues/PRs so I'm wondering what the current status is? |
Not yet, I will check it around tomorrow. |
Thanks! No rush, I was just uncertain where things stood. |
copy any file from stage0/lib to stage0-sysroot/lib With the LLVM 18 upgrade, the name of the LLVM library has been changed to something like `libLLVM.so.18.1-rust-1.78.0-beta`, which `is_dylib` function cannot determine as it only looks whether files are ending with ".so" or not. This change resolves this problem by no longer doing that ".so" check, as we need all files from the stage0/lib as they are all dependency of rustc anyway. Fixes rust-lang#122913
Rollup merge of rust-lang#123186 - onur-ozkan:llvm-library-bug, r=Kobzol copy any file from stage0/lib to stage0-sysroot/lib With the LLVM 18 upgrade, the name of the LLVM library has been changed to something like `libLLVM.so.18.1-rust-1.78.0-beta`, which `is_dylib` function cannot determine as it only looks whether files are ending with ".so" or not. This change resolves this problem by no longer doing that ".so" check, as we need all files from the stage0/lib as they are all dependency of rustc anyway. Fixes rust-lang#122913
backtrace CI tries to
build --stage 0 library
and then expects to find a rustc inbuild/host/stage0-sysroot/bin/rustc
that can compile stuff. This appears to have worked, but does not work anymore.build/host/stage0-sysroot/lib
only contains thelibLLVM-18-rust-1.78.0-beta.so
linker script, it does not contain the actual library.I'm not sure how bootstrapping works with that, but uh, it does somehow!
The text was updated successfully, but these errors were encountered: