make all fails with error[E0264]: unknown external lang item: `panic_fmt`
I tried to build Redox myself, but i was not able to compile it. I don't know if it is a issue by rust or redox.
"make all" fails with the following error:
Compiling core v0.0.0 (file:///home/simeon/redox/rust/src/libcore)
error[E0264]: unknown external lang item: panic_fmt
--> /home/simeon/redox/rust/src/libcore/panicking.rs:68:9
|
68 | fn panic_impl(fmt: fmt::Arguments, file: &'static str, line: u32, col: u32) -> !;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0093]: unrecognized intrinsic function: align_offset
--> /home/simeon/redox/rust/src/libcore/intrinsics.rs:1399:5
|
1399 | pub fn align_offset(ptr: *const (), align: usize) -> usize;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unrecognized intrinsic
error: aborting due to 2 previous errors
Some errors occurred: E0093, E0264.
For more information about an error, try rustc --explain E0093.
error: Could not compile core.