-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE when linking to old libcore #14748
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
Comments
Could you provide a backtrace of the ICE as well? |
|
@mvdnes Have you been able to reproduce this ICE recently? |
Yes, not very often but two days ago I did. Steps to reproduce: // hello.rs
#![feature(io)]
fn main() {
println!("Hello, World!");
} Next we download the compiler from 14 febuary and the libraries of 8. wget http://static.rust-lang.org/dist/2015-02-14/rustc-nightly-x86_64-unknown-linux-gnu.tar.gz
tar -xf rustc-nightly-x86_64-unknown-linux-gnu.tar.gz
wget http://static.rust-lang.org/dist/2015-02-08/rustc-nightly-i686-unknown-linux-gnu.tar.gz
tar -xf rustc-nightly-i686-unknown-linux-gnu.tar.gz
RUST_BACKTRACE=1 LD_LIBRARY_PATH="rustc-nightly-x86_64-unknown-linux-gnu/lib" ./rustc-nightly-x86_64-unknown-linux-gnu/bin/rustc --target=i686-unknown-linux-gnu -L rustc-nightly-i686-unknown-linux-gnu/lib/rustlib/i686-unknown-linux-gnu/lib/ hello.rs This produces:
This is again resolved by updating the libraries for i686, but a more helpful message would be better. |
@alexcrichton this must be the 5th instance of this issue today :( I suggest we close this - it seems not actionable. |
I agree, thanks @tamird! |
Show type alias layout This PR expands on rust-lang#13490 to allow displaying layout data on hover for type aliases.
Violets are red, Roses are blue, It’s wrong on purpose — We don’t break tradition. <hr> This is cat-penguin of this release [nominated by](rust-lang/rust-clippy#12224 (comment)) @xFrednet some time ago:  Cats for the next release can be traditionally nominated in the comments :D Please be more active and cat-minded 😻 <hr> changelog: none r? flip1995
Description
I am writing an x86 kernel in rust for my own fun. I am using an myself-compiled libcore to use with this, as the host is x86_64 and I need an i386 lib. This is done with
rustc -O --target=i386-unknown-linux ../rust/src/libcore/lib.rs
. Sometimes (not always) when I update my host version of rust (using the thestinger Arch repo), I get an ICE. They differ each time, but the latest was:This is resolved by updating the rust repo, and recompiling the libcore crate. Maybe the failure could give of a more useful error-message?
Version
The text was updated successfully, but these errors were encountered: