Could not compile core


#1

I am getting this error while trying to compile Redox. I don’t know if its a bug but nothing i try works.

failed to execute command: No such file or directory (os error 2)
Is `x86_64-elf-redox-gcc` not installed?

--- stderr
thread 'main' panicked at 'explicit panic', /home/awesomepilot/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.51/src/lib.rs:1239:4
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: this feature has been stable since 1.20.0. Attribute no longer needed
  --> /home/awesomepilot/Programming/rust/redox/rust/src/libcore/lib.rs:73:12
   |
73 | #![feature(associated_consts)]
   |            ^^^^^^^^^^^^^^^^^
   |
note: lint level defined here
  --> /home/awesomepilot/Programming/rust/redox/rust/src/libcore/lib.rs:68:9
   |
68 | #![deny(warnings)]
   |         ^^^^^^^^
   = note: #[deny(stable_features)] implied by #[deny(warnings)]

error: aborting due to previous error

error: Could not compile `core`.

To learn more, run the command again with --verbose.
error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.UiHFrCSFTeXZ/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "std"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
./repo.sh failed.mk/initfs.mk:2: recipe for target 'build/initfs.tag' failed
make: *** [build/initfs.tag] Error 1

Anyone else getting these problems?


#2

Upstream Rust made breaking changes in the compiler a couple days ago. We are working to fix them


#3

Awesome, can’t wait till the fixes are done! I’m super psyched about Redox :grin:


#4

FYI, it seems to still be broken on July 28 2017, commit:
6f4e578 Merge pull request #1008 from garasubo/improve-build-instruction


#5

It worked for me for a while, but now I’m getting similar errors like the ones above again. There will probably be lots of breaks as Redox progresses.