Failed to make on macOS after running Quick Setup script

Hi,every one:

I run the quick setup script

$ curl -sf https://raw.githubusercontent.com/redox-os/redox/master/bootstrap.sh -o bootstrap.sh && bash -e bootstrap.sh

and get succeeded messages

---------------------------------------
Well it looks like you are ready to go!
---------------------------------------

********************************************
Travis reports that the last build succeeded!
Looks like you are good to go!
********************************************
Run the following commands to build redox:
cd redox
make all
make virtualbox or qemu

      Good luck!

then run

make all

get the error infomation

mkdir -p build
nasm -f bin -o build/bootloader -D ARCH_x86_64 -ibootloader/x86_64/ bootloader/x86_64/disk.asm
bootloader/x86_64/disk.asm:1: error: parser: instruction expected
startup-x86_64.asm:126: warning: numeric constant 0xFFFFFF0000080000 does not fit in 32 bits
startup-x86_64.asm:157: warning: numeric constant 0xFFFFFFFFFFFFFFF0 does not fit in 32 bits
make: *** [build/bootloader] Error 1

My system is macOS Sierra 10.12.6

What version of nasm are you using? macOS comes with an out of date version of nasm.

Thanks SAG0Sag0!

nasm -version
NASM version 0.98.40 (Apple Computer, Inc. build 11) compiled on Nov  6 2017

What version of nasm is OK?

You are using the default macOS version of nasm. The current stable version of nasm is 2.13.02. You are using a more than 10 year old version of nasm.

Yes,it is tooooooo old. :)
I changed it to NASM version 2.13.02 compiled on Jan 23 2018 ,
and it works.

You were a big help !

And when I run make all , I got some other errors,

  Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading cc v1.0.4                                                          
 Downloading filetime v0.1.15                                                   
   Compiling unwind v0.0.0 (file:///Users/david/develop/redox/redox/rust/src/libunwind)
   Compiling cc v1.0.4
   Compiling cfg-if v0.1.2
   Compiling libc v0.2.36
   Compiling core v0.0.0 (file:///Users/david/develop/redox/redox/rust/src/libcore)
   Compiling filetime v0.1.15
   Compiling build_helper v0.1.0 (file:///Users/david/develop/redox/redox/rust/src/build_helper)
   Compiling std v0.0.0 (file:///Users/david/develop/redox/redox/rust/src/libstd)
error: failed to run custom build command for `std v0.0.0 (file:///Users/david/develop/redox/redox/rust/src/libstd)`
process didn't exit successfully: `/var/folders/ck/bblhcr811mz6dwcmf5qvg0th0000gn/T/xargo.NZbYrIU8pBuS/target/release/build/std-33d57ae0471e0fed/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/unknown.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/stest.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/state.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/sort.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/simple.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/README
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/read.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/print.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/posix.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/pecoff.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/nounwind.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/mmapio.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/mmap.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/Makefile.in
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/Makefile.am
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/macho.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/ltmain.sh
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/internal.h
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/install-sh
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/hashtab.h
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/filetype.awk
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/filenames.h
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/fileline.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/elf.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/dwarf2.h
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/dwarf2.def
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/dwarf.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/configure.ac
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/configure
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/config.sub
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/config.h.in
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/ChangeLog.jit
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/ChangeLog
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/btest.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/backtrace.h
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/backtrace.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/backtrace-supported.h.in
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/atomic.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/ansidecl.h
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/alloc.c
cargo:rerun-if-changed=/Users/david/develop/redox/redox/rust/src/libstd/../libbacktrace/aclocal.m4
cargo:rustc-link-lib=static=backtrace
cargo:rustc-link-search=native=/var/folders/ck/bblhcr811mz6dwcmf5qvg0th0000gn/T/xargo.NZbYrIU8pBuS/target/x86_64-unknown-redox/release/build/std-a5c4c148088dced6/out/libbacktrace/.libs
running: "sh" "/Users/david/develop/redox/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/david/develop/redox/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/ck/bblhcr811mz6dwcmf5qvg0th0000gn/T/xargo.NZbYrIU8pBuS/target/x86_64-unknown-redox/release/build/std-a5c4c148088dced6/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/ck/bblhcr811mz6dwcmf5qvg0th0000gn/T/xargo.NZbYrIU8pBuS/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.make: *** [build/initfs.tag] Error 1

Sadly that’s as far as my help goes. I’m also using a mac currently and that’s where i’m as well.