compilation errors on archlinux 5.4.1
uname -a: 5.4.1-arch1-1 #1 SMP PREEMPT Fri, 29 Nov 2019 13:37:24 +0000 x86_64 GNU/Linux
rustup show: nightly-x86_64-unknown-linux-gnu (default) rustc 1.42.0-nightly (119307a83 2019-12-31)
expected behaviour: 'make all' succeeds
actual behaviour: :
ERROR: Cannot find a mangling for generic path GenericPath { path: Path { name: "BitSet" }, export_name: "BitSet", generics: [Array(Primitive(ULong), Value("1"))], ctype: None }. This usually means that a type referenced by this generic wa s incompatible or not found. WARN: Can't find pid_t. This usually means that this type was incompatible or not found. WARN: Can't find pid_t. This usually means that this type was incompatible or not found.
...
CARGO_INCREMENTAL=0 env -u CARGO xargo rustc --release "--target=x86_64-unknown-redox" -- --emit link="target/x86_64-unknown-redox"/release/librelibc.a rm -rf "target/x86_64-unknown-redox"/pthreads-emb "target/x86_64-unknown-redox"/pthreads-emb.partial rm -rf "target/x86_64-unknown-redox"/openlibm "target/x86_64-unknown-redox"/openlibm.partial CARGO_INCREMENTAL=0 env -u CARGO xargo rustc --release --manifest-path src/crt0/Cargo.toml "--target=x86_64-unknown-redox" -- --emit obj="target/x86_64-unknown-redox"/release/crt0.o -C panic=abort CARGO_INCREMENTAL=0 env -u CARGO xargo rustc --release --manifest-path src/crti/Cargo.toml "--target=x86_64-unknown-redox" -- --emit obj="target/x86_64-unknown-redox"/release/crti.o -C panic=abort CARGO_INCREMENTAL=0 env -u CARGO xargo rustc --release --manifest-path src/crtn/Cargo.toml "--target=x86_64-unknown-redox" -- --emit obj="target/x86_64-unknown-redox"/release/crtn.o -C panic=abort CARGO_INCREMENTAL=0 env -u CARGO xargo rustc --release --manifest-path src/ld_so/Cargo.toml "--target=x86_64-unknown-redox" -- --emit obj="target/x86_64-unknown-redox"/release/ld_so.o -C panic=abort env: ‘xargo’: No such file or directory make[1]: *** [Makefile:146: "target/x86_64-unknown-redox"/release/crt0.o] Error 127 make[1]: *** Waiting for unfinished jobs.... env: ‘xargo’: No such file or directory make[1]: *** [Makefile:150: "target/x86_64-unknown-redox"/release/crti.o] Error 127 env: ‘xargo’: No such file or directory make[1]: *** [Makefile:142: "target/x86_64-unknown-redox"/release/librelibc.a] Error 127 env: ‘xargo’: No such file or directory make[1]: *** [Makefile:154: "target/x86_64-unknown-redox"/release/crtn.o] Error 127 mkdir -p "target/x86_64-unknown-redox"/include.partial env: ‘xargo’: No such file or directory make[1]: *** [Makefile:158: "target/x86_64-unknown-redox"/release/ld_so.o] Error 127 ./include.sh "target/x86_64-unknown-redox"/include.partial mkdir -p "target/x86_64-unknown-redox" mkdir -p "target/x86_64-unknown-redox" cp -r pthreads-emb "target/x86_64-unknown-redox"/pthreads-emb.partial cp -r openlibm "target/x86_64-unknown-redox"/openlibm.partial Finished release [optimized] target(s) in 0.08s Note: Warnings by cbindgen are suppressed in include.sh.