Newlib no longer compiles
When compiling on Arch (fully updated to newest packages as of yesterday), I come across this error when building newlib.
I haven't gone into syscall yet, as I wanted to test out the operating system first and mess around with some usermode stuff before I start messing with the kernel and stuff, but I'm coming across issues when trying to install the toolchain.
Updating registry `https://github.com/rust-lang/crates.io-index`
Updating git repository `https://github.com/redox-os/liblibc`
Updating byteorder v1.2.3 -> v1.2.7
Updating libc v0.2.40 (https://github.com/redox-os/liblibc#297fc414) -> #a7e78a78
Updating redox_syscall v0.1.38 -> v0.1.50
Compiling newlib_redox v0.1.0 (file:///home/nathaniel/Programs/redox-repos/libc/packages/arch/newlib/src/newlib/newlib/libc/sys/redox)
error[E0425]: cannot find function `execve` in module `syscall`
--> src/process.rs:48:17
|
48 | Ok(syscall::execve(::cstr_to_slice(name), &args)? as c_int)
| ^^^^^^ not found in `syscall`
error[E0425]: cannot find function `execve` in module `syscall`
--> src/process.rs:154:22
|
154 | syscall::execve(shell, &args)?;
| ^^^^^^ not found in `syscall`
warning: unused import: `mem`
--> src/hostname.rs:2:12
|
2 | use core::{mem, str, slice};
| ^^^
|
= note: #[warn(unused_imports)] on by default
error[E0061]: this function takes 2 parameters but 3 parameters were
supplied
--> src/redox.rs:11:8
|
11 | Ok(syscall::fmap(file as usize, offset, size)? as *mut c_void)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters
error: aborting due to 3 previous errors
Some errors occurred: E0061, E0425.
For more information about an error, try `rustc --explain E0061`.
error: Could not compile `newlib_redox`.