Build fails on macOS 10.13.1 Highsierra


i got a error when i started the make all with
pasting the last few lines with the error:

running: "sh" "/Users/novski/Documents/code/redoxos/redox/rust/src/libstd/../libbacktrace/configure" "--with-pic" "--disable-multilib" "--disable-shared" "--disable-host-shared" "--host=x86_64-unknown-redox" "--build=x86_64-apple-darwin"
checking build system type... x86_64-apple-darwin
checking host system type... x86_64-unknown-redox
checking target system type... x86_64-unknown-redox
checking for x86_64-unknown-redox-gcc... x86_64-unknown-redox-gcc
checking for C compiler default output file name... 

command did not execute successfully: "sh" "/Users/novski/Documents/code/redoxos/redox/rust/src/libstd/../libbacktrace/configure" "--with-pic" "--disable-multilib" "--disable-shared" "--disable-host-shared" "--host=x86_64-unknown-redox" "--build=x86_64-apple-darwin"
expected success, got: exit code: 77

--- stderr
configure: error: in `/private/var/folders/qq/7tsx54kn7ks6_ph0zftgj9pw0000gn/T/xargo.2zFMm87ztQ9m/target/x86_64-unknown-redox/release/build/std-cb0f9bbeddbecbbc/out/libbacktrace':
configure: error: C compiler cannot create executables
See `config.log' for more details.

warning: build failed, waiting for other jobs to finish...
error: build failed
error: `"cargo" "build" "--release" "--manifest-path" "/var/folders/qq/7tsx54kn7ks6_ph0zftgj9pw0000gn/T/xargo.2zFMm87ztQ9m/Cargo.toml" "--target" "x86_64-unknown-redox" "-p" "std"` failed with exit code: Some(101)
note: run with `RUST_BACKTRACE=1` for a backtrace
./ failed.make: *** [build/initfs.tag] Error 1**

i checked for updates on xcode but it says:
$ softwareupdate --list
Software Update Tool

Finding available software
No new software available.

So to me all seams to be neat. How can i debug? Where is that logfile on my system?
Regards, Novski


Did you install the cross compiler? Instructions are at


Hi @jackpot51, Thanks for your reply. I now found time to test with libc.
I did:
git clone --recursive
cd libc
./ all
what gave me the following message:
Must install autoconf264 before x86_64-unknown-redox may be built
so i did:
brew install autoconf@2.64
./ all
Must install automake112 before x86_64-unknown-redox may be built
brew install automake@1.12
./ all
and it run until:

checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking for shl_load... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

I have no idea how to solve such errors. Is it an easy thing for you to see what gone wrong?
otherwhise just leave it and i will go through the docker possibility.

my system is MacOS 10.13.1

Best Regards, Novski