Issue building on MacOS because of "ar -M"
-
I agree that I have searched opened and closed issues to prevent duplicates.
Description
Because the built in version of ar on Mac, you cannot use ar -M
. This causes builds to fail. Here is the relevant output from make all
.
ar -M < ""target/x86_64-unknown-redox"/release/libc.a.mri" usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] make[1]: *** ["target/x86_64-unknown-redox"/release/libc.a] Error 1 make: *** [prefix/x86_64-unknown-redox/relibc-freestanding-install] Error 2
Environment info
- Operating system: MacOS 10.14.3
-
uname -a
: Darwin Ivys-Macbook-Air.local 18.2.0 Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018;root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64 -
rustc -V
: rustc 1.32.0-nightly (15d770400 2018-11-06) -
git rev-parse HEAD
: 4f8c725f
Steps to reproduce
make all
Behavior
- Expected behavior: Properly builds
-
Actual behavior:
ar -M < ""target/x86_64-unknown-redox"/release/libc.a.mri" usage: ar -d [-TLsv] archive file ... ar -m [-TLsv] archive file ... ar -m [-abiTLsv] position archive file ... ar -p [-TLsv] archive [file ...] ar -q [-cTLsv] archive file ... ar -r [-cuTLsv] archive file ... ar -r [-abciuTLsv] position archive file ... ar -t [-TLsv] archive [file ...] ar -x [-ouTLsv] archive [file ...] make[1]: *** ["target/x86_64-unknown-redox"/release/libc.a] Error 1 make: *** [prefix/x86_64-unknown-redox/relibc-freestanding-install] Error 2