Created
January 20, 2020 23:51
-
-
Save DrBluefall/a4f67b298e5ba7b326b595eed9c4608e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUSTFLAGS=" -C opt-level=0 -C link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld.lld" cargo +nightly build --target "x86_64-unknown-linux-gnu" --verbose | |
Compiling rvterm v0.1.0 (/Users/prismarine/Projects/rvterm) | |
Running `rustc --edition=2018 --crate-name rvterm src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=3ece1e63ddec6500 -C extra-filename=-3ece1e63ddec6500 --out-dir /Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/Users/prismarine/Projects/rvterm/target/debug/deps -C opt-level=0 -C link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld.lld` | |
error: linking with `cc` failed: exit code: 1 | |
| | |
= note: "cc" "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.2z1ozab1gkn12m51.rcgu.o" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.3fbm3k97cngey5gs.rcgu.o" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.3gj4a4dgq8ltlvdn.rcgu.o" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.4glh1mo2bg03cejp.rcgu.o" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.4ro07v6rprr987co.rcgu.o" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.ulnfzrv03zobg36.rcgu.o" "-o" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps/rvterm-3ece1e63ddec6500.1vm2uzrlnts4jhxk.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps" "-L" "/Users/prismarine/Projects/rvterm/target/debug/deps" "-L" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,--start-group" "-Wl,-Bstatic" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-b153b83c9c1c6c1f.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff74737cd8bbb298.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-2267460a56900e75.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c255c421355d68b0.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-bb8d13f93963d3d3.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-fc5e3870a30b28e4.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-3bc3d05f64ad0ad6.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0a5e8f0c3ec2c413.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-3cb6dc1d22c519ed.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-55aef1559ad2be59.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-e6671844ee42c32a.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-464189b722abe6c0.rlib" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9f75b1b7c35ab8a8.rlib" "-Wl,--end-group" "/Users/prismarine/.rustup/toolchains/nightly-x86_64-apple-darwin/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d7594cefb5f3edfe.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-fuse-ld=/usr/local/opt/llvm/bin/ld.lld" | |
= note: clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument] | |
ld.lld: error: unknown argument '-dynamic', did you mean '-Bdynamic' | |
ld.lld: error: unknown argument '-arch' | |
ld.lld: error: unknown argument '-syslibroot' | |
ld.lld: error: unknown emulation: acosx_version_min | |
ld.lld: error: unable to find library -lto_library | |
ld.lld: error: /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib: unknown file type | |
ld.lld: error: cannot open x86_64: No such file or directory | |
ld.lld: error: cannot open 10.15.0: No such file or directory | |
ld.lld: error: cannot open /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk: Is a directory | |
ld.lld: error: unable to find library -ldl | |
ld.lld: error: unable to find library -lrt | |
ld.lld: error: unable to find library -lpthread | |
ld.lld: error: unable to find library -lgcc_s | |
ld.lld: error: unable to find library -lc | |
ld.lld: error: unable to find library -lm | |
ld.lld: error: unable to find library -lrt | |
ld.lld: error: unable to find library -lpthread | |
ld.lld: error: unable to find library -lutil | |
ld.lld: error: unable to find library -lutil | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
error: aborting due to previous error | |
error: could not compile `rvterm`. | |
Caused by: | |
process didn't exit successfully: `rustc --edition=2018 --crate-name rvterm src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=3ece1e63ddec6500 -C extra-filename=-3ece1e63ddec6500 --out-dir /Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -C incremental=/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/incremental -L dependency=/Users/prismarine/Projects/rvterm/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/Users/prismarine/Projects/rvterm/target/debug/deps -C opt-level=0 -C link-arg=-fuse-ld=/usr/local/opt/llvm/bin/ld.lld` (exit code: 1) | |
make: *** [debug] Error 101 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment