Skip to content

Rustc master (commit 8780d9c) won't compile on OS X Yosemite #17214

Closed
@burtonageo

Description

@burtonageo

Fails with

rustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/liballoc
rustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libunicode
rustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libcollections
rustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustrt
error: linking with `cc` failed: exit code: 1
note: cc '-m64' '-L' '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib' '-o' 'x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustrt-4e7c5e5c.dylib' 'x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/rustrt-4e7c5e5c.o' '-Wl,-force_load,/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a' 'x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/rustrt-4e7c5e5c.metadata.o' '-nodefaultlibs' '-fno-lto' '-fno-use-linker-plugin' '-Wl,-dead_strip'  '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libcollections-4e7c5e5c.rlib' '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libunicode-4e7c5e5c.rlib' '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/liballoc-4e7c5e5c.rlib' '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/liblibc-4e7c5e5c.rlib' '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libcore-4e7c5e5c.rlib' '-L' 'x86_64-apple-darwin/rt' '-L' '/Users/georgeburton/Downloads/rust/x86_64-apple-darwin/llvm/Release+Asserts/lib' '-L' '.' '-L' '/Users/georgeburton/Projects/Rust' '-L' '.' '-L' '/Users/georgeburton/Downloads/rust/.rust' '-L'     '/Users/georgeburton/Downloads/rust' '-Wl,-force_load,x86_64-apple-darwin/rt/librustrt_native.a' '-    lpthread' '-lc' '-lm' '-dynamiclib' '-Wl,-dylib' '-lcompiler-rt'
note: clang: error: unknown argument: '-fno-use-linker-plugin'

error: aborting due to previous error
make: *** [x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/stamp.rustrt] Error 101

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions