error: linker `x86_64-apple-darwin14-clang` not found
|
= note: No such file or directory (os error 2)
error: aborting due to previous error
error: Could not compile `libc`.
I believe this is because the cargo config .cargo/config files points the apple-darwin target to a clang linker that doesn't exist. The travis system uses the x86_64-apple-darwin17-clang linker.
We should probably not commit the cargo config to allow for OS defaults. And have the OSX docker cross compiler generate the config file internally.
Or optionally overwrite the desired setting in travis.
System Info
OS: Mac OSX 10.13.3 Muxed Version: MASTER @ 41e7bceb984b95e49b87db29634788ecd5481814 Running in: Travis
Description
OSX builds in travis are failing with error:
I believe this is because the cargo config
.cargo/config
files points the apple-darwin target to a clang linker that doesn't exist. The travis system uses thex86_64-apple-darwin17-clang
linker.We should probably not commit the cargo config to allow for OS defaults. And have the OSX docker cross compiler generate the config file internally. Or optionally overwrite the desired setting in travis.
Steps to reproduce
Expected
It passes.
Actual
It errors out.
Stacktrace