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
error while executing "make run" #7
Comments
Try with 1.6.0-nightly and let me know what happens. |
With * rustc 1.6.0-nightly (8ca0acc25 2015-10-28)* it is showing following error: as -march=i386 --32 -o boot.o src//arch/x86/boot.s Caused by: |
Hmmm, I've verified it works with rustc 1.6.0-nightly (1e3e7e73c 2015-11-07). Could you grab that and try it? |
with version rustc 1.6.0-nightly (1e3e7e73c 2015-11-07) it shows following error : |
This seems like a similar problem to: #5 What does |
GNU ld (GNU Binutils for Ubuntu) 2.24 |
Hmm, yeah, the OP in #5 had the same issue using version 2.24 of binutils. Would it be possible for you to get 2.25? That should fix the problem. |
I am using ubuntu 14.04 . If you are using newer version, i will also upgrade. |
From what I gather, 15.04 has that version of binutils. You might also be able to keep your current version of ubuntu and just upgrade binutils. I'm going to close this thread though as the problem should be solved by getting the right version of binutils. |
➜ RustOS git:(master) make run
cargo rustc --features rustos --target i686-unknown-linux-gnu --verbose -- -L .
Compiling core v0.0.1 (file:///home/anuj/RustOS)
Running
rustc lib/rust/cargo/core/src/lib.rs --crate-name core --crate-type lib -g -C metadata=2839fe1be8c3a48a -C extra-filename=-2839fe1be8c3a48a --out-dir /home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps --emit=dep-info,link --target i686-unknown-linux-gnu -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps
lib/rust/cargo/core/src/nonzero.rs:58:19: 58:25 error: expected identifier, found keyword
unsafe
lib/rust/cargo/core/src/nonzero.rs:58 pub const unsafe fn new(inner: T) -> NonZero {
^~~~~~
lib/rust/cargo/core/src/nonzero.rs:58:26: 58:28 error: expected
:
, foundfn
lib/rust/cargo/core/src/nonzero.rs:58 pub const unsafe fn new(inner: T) -> NonZero {
^~
Could not compile
core
.Caused by:
Process didn't exit successfully:
rustc lib/rust/cargo/core/src/lib.rs --crate-name core --crate-type lib -g -C metadata=2839fe1be8c3a48a -C extra-filename=-2839fe1be8c3a48a --out-dir /home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps --emit=dep-info,link --target i686-unknown-linux-gnu -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps -L dependency=/home/anuj/RustOS/target/i686-unknown-linux-gnu/debug/deps
(exit code: 101)make: ** [target/i686-unknown-linux-gnu/debug/libstd.a] Error 101
I am using rust version 1.2.0 nightly
The text was updated successfully, but these errors were encountered: