Skip to content

[perf experiment] Link rlibs with --whole-archive #137481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

dianqk
Copy link
Member

@dianqk dianqk commented Feb 23, 2025

For #137426 (comment).

r? ghost

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Feb 23, 2025
@dianqk dianqk changed the title Link rlibs with --whole-archive [perf experiment] Link rlibs with --whole-archive Feb 23, 2025
@dianqk
Copy link
Member Author

dianqk commented Feb 23, 2025

@bors try @rust-timer queue

@rust-timer

This comment has been minimized.

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Feb 23, 2025
@bors
Copy link
Collaborator

bors commented Feb 23, 2025

⌛ Trying commit 4239be9 with merge 4ca5e0e...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 23, 2025
[perf experiment] Link rlibs with `--whole-archive`

For rust-lang#137426 (comment).

r? ghost
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Feb 23, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 23, 2025
@dianqk
Copy link
Member Author

dianqk commented Feb 23, 2025

@bors try

@bors
Copy link
Collaborator

bors commented Feb 23, 2025

⌛ Trying commit fb38743 with merge eaaa44d...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 23, 2025
[perf experiment] Link rlibs with `--whole-archive`

For rust-lang#137426 (comment).

r? ghost
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Feb 23, 2025

💔 Test failed - checks-actions

@petrochenkov petrochenkov self-assigned this Feb 23, 2025
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-llvm-18 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
#22 exporting to docker image format
#22 sending tarball 30.2s done
#22 DONE 35.9s
##[endgroup]
Setting extra environment values for docker:  --env ENABLE_GCC_CODEGEN=1 --env GCC_EXEC_PREFIX=/usr/lib/gcc/
[CI_JOB_NAME=x86_64-gnu-llvm-18]
debug: `DISABLE_CI_RUSTC_IF_INCOMPATIBLE` configured.
---
sccache: Listening on address 127.0.0.1:4226
##[group]Configure the build
configure: processing command line
configure: 
configure: build.configure-args := ['--build=x86_64-unknown-linux-gnu', '--llvm-root=/usr/lib/llvm-18', '--enable-llvm-link-shared', '--set', 'rust.randomize-layout=true', '--set', 'rust.thin-lto-import-instr-limit=10', '--enable-verbose-configure', '--enable-sccache', '--disable-manage-submodules', '--enable-locked-deps', '--enable-cargo-native-static', '--set', 'rust.codegen-units-std=1', '--set', 'dist.compression-profile=balanced', '--dist-compression-formats=xz', '--set', 'rust.lld=false', '--disable-dist-src', '--release-channel=nightly', '--enable-debug-assertions', '--enable-overflow-checks', '--enable-llvm-assertions', '--set', 'rust.verify-llvm-ir', '--set', 'rust.codegen-backends=llvm,cranelift,gcc', '--set', 'llvm.static-libstdcpp', '--enable-new-symbol-mangling']
configure: target.x86_64-unknown-linux-gnu.llvm-config := /usr/lib/llvm-18/bin/llvm-config
configure: llvm.link-shared     := True
configure: rust.randomize-layout := True
configure: rust.thin-lto-import-instr-limit := 10
---
  Downloaded boml v0.3.1
   Compiling boml v0.3.1
   Compiling y v0.1.0 (/checkout/compiler/rustc_codegen_gcc/build_system)
    Finished `release` profile [optimized] target(s) in 4.21s
     Running `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-codegen/x86_64-unknown-linux-gnu/release/y test --use-system-gcc --use-backend gcc --out-dir /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools/cg_gcc --release --mini-tests --std-tests`
Using system GCC
warning: target feature `x87` must be enabled to ensure that the ABI of the current target can be implemented correctly
  |
  = note: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
  = note: for more information, see issue #116344 <https://github.com/rust-lang/rust/issues/116344>
---
---- [run-make] tests/run-make/extern-fn-generic stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out" && env -u RUSTFLAGS AR="ar" BUILD_ROOT="/checkout/obj/build/x86_64-unknown-linux-gnu" CARGO="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/cargo" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" HOST_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/usr/lib/llvm-18/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser textapi textapibinaryreader transformutils ve veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/usr/lib/llvm-18/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTDOC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="x86_64-unknown-linux-gnu" TARGET_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" TARGET_RPATH_ENV="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake"
--- stderr -------------------------------
command failed at line 14
command failed at line 14
Command { cmd: LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out" "test.rs", stdin_buf: None, stdin: None, stdout: None, stderr: None, drop_bomb: DropBomb { command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc", defused: true, armed_location: Location { file: "/checkout/tests/run-make/extern-fn-generic/rmake.rs", line: 14, col: 5 } }, already_executed: true }
output status: `exit status: 1`
=== STDOUT ===


=== STDERR ===
error: linking with `cc` failed: exit status: 1
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-ltest" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out/{libtestcrate.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-57bb1369ea999cb0.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libpanic_unwind-0424dd2631a86183.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libobject-e87b26206e4995ac.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libmemchr-4ea97d261fd812c8.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libaddr2line-07f9cea7d3b12a9d.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libgimli-76e560727b22c325.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_demangle-5712d690c232b221.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd_detect-0eeb4f83bad94c2a.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libhashbrown-a45f898d6d56a374.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_alloc-b5abb14696faca41.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libminiz_oxide-5653ac4a121f356d.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libadler2-d3bd56b357ae9ac8.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libunwind-c9357064c757d55a.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcfg_if-c011116929d4eebe.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liblibc-fa63798eda266779.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-f64e6fbec4a49d45.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_core-909cc34fe085b3d9.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-fceb7ed5ca8b3588.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-a21a40ffd0a11854.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "test" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out/libtestcrate.rlib(test.o): in function `call':
          test.c:(.text.call+0x0): multiple definition of `call'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/extern-fn-generic/rmake_out/libtest.a(test.o):test.c:(.text.call+0x0): first defined here
          

error: aborting due to 1 previous error
------------------------------------------
------------------------------------------


---- [run-make] tests/run-make/linker-warning stdout ----

error: rmake recipe failed to complete
status: exit status: 101
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out" && env -u RUSTFLAGS AR="ar" BUILD_ROOT="/checkout/obj/build/x86_64-unknown-linux-gnu" CARGO="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/cargo" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" HOST_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/usr/lib/llvm-18/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser textapi textapibinaryreader transformutils ve veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/usr/lib/llvm-18/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTDOC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="x86_64-unknown-linux-gnu" TARGET_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" TARGET_RPATH_ENV="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake"
--- stderr -------------------------------

thread 'main' panicked at /checkout/tests/run-make/linker-warning/rmake.rs:63:14:
thread 'main' panicked at /checkout/tests/run-make/linker-warning/rmake.rs:63:14:
test failed: `short-error.txt` is different from `(linker error)`
--- short-error.txt
+++ (linker error)
@@ -1,6 +1,6 @@
 error: linking with `./fake-linker` failed: exit status: 1
 error: linking with `./fake-linker` failed: exit status: 1
   |
-  = note:  "./fake-linker" "-m64" "/tmp/rustc/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build-root/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
+  = note:  "./fake-linker" "-m64" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-57bb1369ea999cb0.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libpanic_unwind-0424dd2631a86183.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libobject-e87b26206e4995ac.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libmemchr-4ea97d261fd812c8.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libaddr2line-07f9cea7d3b12a9d.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libgimli-76e560727b22c325.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_demangle-5712d690c232b221.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd_detect-0eeb4f83bad94c2a.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libhashbrown-a45f898d6d56a374.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_alloc-b5abb14696faca41.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libminiz_oxide-5653ac4a121f356d.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libadler2-d3bd56b357ae9ac8.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libunwind-c9357064c757d55a.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcfg_if-c011116929d4eebe.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liblibc-fa63798eda266779.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-f64e6fbec4a49d45.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_core-909cc34fe085b3d9.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-fceb7ed5ca8b3588.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/build-root/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-a21a40ffd0a11854.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build-root/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
   = note: error: baz
           

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------------------------------------


---- [run-make] tests/run-make/lto-no-link-whole-rlib stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/lto-no-link-whole-rlib/rmake_out" && env -u RUSTFLAGS AR="ar" BUILD_ROOT="/checkout/obj/build/x86_64-unknown-linux-gnu" CARGO="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/cargo" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" HOST_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/usr/lib/llvm-18/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser textapi textapibinaryreader transformutils ve veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/usr/lib/llvm-18/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTDOC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="x86_64-unknown-linux-gnu" TARGET_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" TARGET_RPATH_ENV="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/lto-no-link-whole-rlib/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/lto-no-link-whole-rlib/rmake"
--- stderr -------------------------------
command failed at line 16
command failed at line 16
Command { cmd: LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/lto-no-link-whole-rlib/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/lto-no-link-whole-rlib/rmake_out" "main.rs" "-Clto", stdin_buf: None, stdin: None, stdout: None, stderr: None, drop_bomb: DropBomb { command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc", defused: true, armed_location: Location { file: "/checkout/tests/run-make/lto-no-link-whole-rlib/rmake.rs", line: 16, col: 5 } }, already_executed: true }
output status: `exit status: 1`
=== STDOUT ===


=== STDERR ===
error: linking with `cc` failed: exit status: 1
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-Wl,--whole-archive" "-Wl,/tmp/rustcYfgmQ7/{liblib2.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/tmp/rustcYfgmQ7/{liblib1.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-a21a40ffd0a11854.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/lto-no-link-whole-rlib/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /tmp/rustcYfgmQ7/liblib1.rlib(foo.o): in function `foo':
          foo.c:(.text.foo+0x0): multiple definition of `foo'; /tmp/rustcYfgmQ7/liblib2.rlib(bar.o):bar.c:(.text.foo+0x0): first defined here
          

error: aborting due to 1 previous error
------------------------------------------
------------------------------------------


---- [run-make] tests/run-make/native-lib-alt-naming stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out" && env -u RUSTFLAGS AR="ar" BUILD_ROOT="/checkout/obj/build/x86_64-unknown-linux-gnu" CARGO="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/cargo" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" HOST_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/usr/lib/llvm-18/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cfguard codegen codegentypes core coroutines coverage debuginfobtf debuginfocodeview debuginfodwarf debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink lanai lanaiasmparser lanaicodegen lanaidesc lanaidisassembler lanaiinfo libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes perfjitevents powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser textapi textapibinaryreader transformutils ve veasmparser vecodegen vectorize vedesc vedisassembler veinfo webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xcore xcorecodegen xcoredesc xcoredisassembler xcoreinfo xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/usr/lib/llvm-18/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTDOC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="x86_64-unknown-linux-gnu" TARGET_RPATH_DIR="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" TARGET_RPATH_ENV="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake"
--- stderr -------------------------------
<<<<<< TRUNCATED, SHOWING THE FIRST 1546758 BYTES >>>>>>

command failed at line 14
command failed at line 14
Command { cmd: LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out" "rust.rs" "--crate-type" "bin" "-lstatic=native", stdin_buf: None, stdin: None, stdout: None, stderr: None, drop_bomb: DropBomb { command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc", defused: true, armed_location: Location { file: "/checkout/tests/run-make/native-lib-alt-naming/rmake.rs", line: 14, col: 5 } }, already_executed: true }
output status: `exit status: 1`
=== STDOUT ===


=== STDERR ===
error: linking with `cc` failed: exit status: 1
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lnative" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-57bb1369ea999cb0.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libpanic_unwind-0424dd2631a86183.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libobject-e87b26206e4995ac.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libmemchr-4ea97d261fd812c8.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libaddr2line-07f9cea7d3b12a9d.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libgimli-76e560727b22c325.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_demangle-5712d690c232b221.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd_detect-0eeb4f83bad94c2a.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libhashbrown-a45f898d6d56a374.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_alloc-b5abb14696faca41.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libminiz_oxide-5653ac4a121f356d.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libadler2-d3bd56b357ae9ac8.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libunwind-c9357064c757d55a.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcfg_if-c011116929d4eebe.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liblibc-fa63798eda266779.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{liballoc-f64e6fbec4a49d45.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{librustc_std_workspace_core-909cc34fe085b3d9.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcore-fceb7ed5ca8b3588.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "-Wl,/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libcompiler_builtins-a21a40ffd0a11854.rlib}.rlib" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "rust" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<gimli::read::line::FileEntry<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>, usize>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtNtCshwwYectlSkv_5gimli4read4line9FileEntryINtNtBR_12endian_slice11EndianSliceNtNtBT_9endianity12LittleEndianEjEE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<gimli::read::line::FileEntry<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>, usize>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtNtCshwwYectlSkv_5gimli4read4line9FileEntryINtNtBR_12endian_slice11EndianSliceNtNtBT_9endianity12LittleEndianEjEE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<addr2line::line::LineSequence>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecNtNtCscNW3nZcirFg_9addr2line4line12LineSequenceE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<addr2line::line::LineSequence>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecNtNtCscNW3nZcirFg_9addr2line4line12LineSequenceE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<alloc::vec::Vec<u8>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtB7_3vec3VechEE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<alloc::vec::Vec<u8>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtB7_3vec3VechEE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::driftsort_main::<addr2line::line::LineSequence, <[addr2line::line::LineSequence]>::sort_by_key<u64, <addr2line::line::Lines>::parse<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>::{closure#1}>::{closure#0}, alloc::vec::Vec<addr2line::line::LineSequence>>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line4line12LineSequenceNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyyNCINvMs_B11_NtB11_5Lines5parseINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3b_9endianity12LittleEndianEEs_0E0INtNtB1S_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::driftsort_main::<addr2line::line::LineSequence, <[addr2line::line::LineSequence]>::sort_by_key<u64, <addr2line::line::Lines>::parse<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>::{closure#1}>::{closure#0}, alloc::vec::Vec<addr2line::line::LineSequence>>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line4line12LineSequenceNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyyNCINvMs_B11_NtB11_5Lines5parseINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3b_9endianity12LittleEndianEEs_0E0INtNtB1S_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<gimli::read::line::FileEntryFormat>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecNtNtNtCshwwYectlSkv_5gimli4read4line15FileEntryFormatE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<gimli::read::line::FileEntryFormat>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecNtNtNtCshwwYectlSkv_5gimli4read4line15FileEntryFormatE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<gimli::read::dwarf::Dwarf<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcINtNtNtCshwwYectlSkv_5gimli4read5dwarf5DwarfINtNtBL_12endian_slice11EndianSliceNtNtBN_9endianity12LittleEndianEEE9drop_slowCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::sync::Arc<gimli::read::dwarf::Dwarf<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcINtNtNtCshwwYectlSkv_5gimli4read5dwarf5DwarfINtNtBL_12endian_slice11EndianSliceNtNtBN_9endianity12LittleEndianEEE9drop_slowCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::panicking::assert_failed::<i32, i32>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedllECslQySVYVzS8I_3std+0x0): multiple definition of `core::panicking::assert_failed::<i32, i32>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedllECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<std::thread::spawnhook::SpawnHook>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtCslQySVYVzS8I_3std6thread9spawnhook9SpawnHookE9drop_slowBM_+0x0): multiple definition of `<alloc::sync::Arc<std::thread::spawnhook::SpawnHook>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtCslQySVYVzS8I_3std6thread9spawnhook9SpawnHookE9drop_slowBM_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.bss._RNvNtNtCslQySVYVzS8I_3std9panicking11panic_count18GLOBAL_PANIC_COUNT+0x0): multiple definition of `std::panicking::panic_count::GLOBAL_PANIC_COUNT'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.bss._RNvNtNtCslQySVYVzS8I_3std9panicking11panic_count18GLOBAL_PANIC_COUNT+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::sys::sync::rwlock::futex::RwLock>::wake_writer_or_readers':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvMNtNtNtNtCslQySVYVzS8I_3std3sys4sync6rwlock5futexNtB2_6RwLock22wake_writer_or_readers+0x0): multiple definition of `<std::sys::sync::rwlock::futex::RwLock>::wake_writer_or_readers'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvMNtNtNtNtCslQySVYVzS8I_3std3sys4sync6rwlock5futexNtB2_6RwLock22wake_writer_or_readers+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::panicking::panic_count::is_zero_slow_path':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvNtNtCslQySVYVzS8I_3std9panicking11panic_count17is_zero_slow_path+0x0): multiple definition of `std::panicking::panic_count::is_zero_slow_path'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvNtNtCslQySVYVzS8I_3std9panicking11panic_count17is_zero_slow_path+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<std::sync::poison::mutex::Mutex<alloc::vec::Vec<u8>>>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcINtNtNtNtCslQySVYVzS8I_3std4sync6poison5mutex5MutexINtNtB7_3vec3VechEEE9drop_slowBP_+0x0): multiple definition of `<alloc::sync::Arc<std::sync::poison::mutex::Mutex<alloc::vec::Vec<u8>>>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcINtNtNtNtCslQySVYVzS8I_3std4sync6poison5mutex5MutexINtNtB7_3vec3VechEEE9drop_slowBP_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<gimli::read::abbrev::Abbreviations>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtCshwwYectlSkv_5gimli4read6abbrev13AbbreviationsE9drop_slowCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::sync::Arc<gimli::read::abbrev::Abbreviations>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtCshwwYectlSkv_5gimli4read6abbrev13AbbreviationsE9drop_slowCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<std::thread::Inner>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtCslQySVYVzS8I_3std6thread5InnerE9drop_slowBK_+0x0): multiple definition of `<alloc::sync::Arc<std::thread::Inner>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtCslQySVYVzS8I_3std6thread5InnerE9drop_slowBK_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::sys::pal::unix::fs::Dir as core::ops::drop::Drop>::drop':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXse_NtNtNtNtCslQySVYVzS8I_3std3sys3pal4unix2fsNtB5_3DirNtNtNtCs8lc7yIMzkER_4core3ops4drop4Drop4drop+0x0): multiple definition of `<std::sys::pal::unix::fs::Dir as core::ops::drop::Drop>::drop'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXse_NtNtNtNtCslQySVYVzS8I_3std3sys3pal4unix2fsNtB5_3DirNtNtNtCs8lc7yIMzkER_4core3ops4drop4Drop4drop+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::sys::pal::unix::abort_internal':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtNtCslQySVYVzS8I_3std3sys3pal4unix14abort_internal+0x0): multiple definition of `std::sys::pal::unix::abort_internal'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtNtCslQySVYVzS8I_3std3sys3pal4unix14abort_internal+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::spawnhook::SpawnHooks as core::ops::drop::Drop>::drop':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXNtNtCslQySVYVzS8I_3std6thread9spawnhookNtB2_10SpawnHooksNtNtNtCs8lc7yIMzkER_4core3ops4drop4Drop4drop+0x0): multiple definition of `<std::thread::spawnhook::SpawnHooks as core::ops::drop::Drop>::drop'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXNtNtCslQySVYVzS8I_3std6thread9spawnhookNtB2_10SpawnHooksNtNtNtCs8lc7yIMzkER_4core3ops4drop4Drop4drop+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<std::sys::pal::unix::fs::InnerReadDir>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtNtNtCslQySVYVzS8I_3std3sys3pal4unix2fs12InnerReadDirE9drop_slowBQ_+0x0): multiple definition of `<alloc::sync::Arc<std::sys::pal::unix::fs::InnerReadDir>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtNtNtCslQySVYVzS8I_3std3sys3pal4unix2fs12InnerReadDirE9drop_slowBQ_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::panicking::assert_failed::<[u8; 4], &[u8]>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedAhj4_RShECslQySVYVzS8I_3std+0x0): multiple definition of `core::panicking::assert_failed::<[u8; 4], &[u8]>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedAhj4_RShECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::panicking::assert_failed::<gimli::constants::DwTag, gimli::constants::DwTag>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedNtNtCshwwYectlSkv_5gimli9constants5DwTagBM_ECslQySVYVzS8I_3std+0x0): multiple definition of `core::panicking::assert_failed::<gimli::constants::DwTag, gimli::constants::DwTag>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedNtNtCshwwYectlSkv_5gimli9constants5DwTagBM_ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::panicking::assert_failed::<core::alloc::layout::Layout, core::alloc::layout::Layout>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedNtNtNtB4_5alloc6layout6LayoutBM_ECslQySVYVzS8I_3std+0x0): multiple definition of `core::panicking::assert_failed::<core::alloc::layout::Layout, core::alloc::layout::Layout>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedNtNtNtB4_5alloc6layout6LayoutBM_ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::panicking::assert_failed::<*mut (), *mut ()>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedOuBM_ECslQySVYVzS8I_3std+0x0): multiple definition of `core::panicking::assert_failed::<*mut (), *mut ()>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking13assert_failedOuBM_ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::panicking::assert_matches_failed::<u8>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking21assert_matches_failedhECslQySVYVzS8I_3std+0x0): multiple definition of `core::panicking::assert_matches_failed::<u8>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCs8lc7yIMzkER_4core9panicking21assert_matches_failedhECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::driftsort_main::<addr2line::unit::UnitRange, <[addr2line::unit::UnitRange]>::sort_by_key<u64, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#4}>::{closure#0}, alloc::vec::Vec<addr2line::unit::UnitRange>>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line4unit9UnitRangeNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyyNCNvMs_B11_INtB11_8ResUnitsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB34_9endianity12LittleEndianEE5parses2_0E0INtNtB1O_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::driftsort_main::<addr2line::unit::UnitRange, <[addr2line::unit::UnitRange]>::sort_by_key<u64, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#4}>::{closure#0}, alloc::vec::Vec<addr2line::unit::UnitRange>>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line4unit9UnitRangeNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyyNCNvMs_B11_INtB11_8ResUnitsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB34_9endianity12LittleEndianEE5parses2_0E0INtNtB1O_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::driftsort_main::<addr2line::function::FunctionAddress, <[addr2line::function::FunctionAddress]>::sort_by_key<u64, <addr2line::function::Functions<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#1}>::{closure#0}, alloc::vec::Vec<addr2line::function::FunctionAddress>>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line8function15FunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyyNCNvMs0_B11_INtB11_9FunctionsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3h_9endianity12LittleEndianEE5parses_0E0INtNtB1Z_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::driftsort_main::<addr2line::function::FunctionAddress, <[addr2line::function::FunctionAddress]>::sort_by_key<u64, <addr2line::function::Functions<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#1}>::{closure#0}, alloc::vec::Vec<addr2line::function::FunctionAddress>>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line8function15FunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyyNCNvMs0_B11_INtB11_9FunctionsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3h_9endianity12LittleEndianEE5parses_0E0INtNtB1Z_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::driftsort_main::<addr2line::function::InlinedFunctionAddress, <[addr2line::function::InlinedFunctionAddress]>::sort_by<<addr2line::function::Function<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}, alloc::vec::Vec<addr2line::function::InlinedFunctionAddress>>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line8function22InlinedFunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_7sort_byNCNvMs1_B11_INtB11_8FunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3h_9endianity12LittleEndianEE5parse0E0INtNtB26_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::driftsort_main::<addr2line::function::InlinedFunctionAddress, <[addr2line::function::InlinedFunctionAddress]>::sort_by<<addr2line::function::Function<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}, alloc::vec::Vec<addr2line::function::InlinedFunctionAddress>>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainNtNtCscNW3nZcirFg_9addr2line8function22InlinedFunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_7sort_byNCNvMs1_B11_INtB11_8FunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3h_9endianity12LittleEndianEE5parse0E0INtNtB26_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::driftsort_main::<(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset), <[(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset)]>::sort_by_key<gimli::common::DebugInfoOffset, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}, alloc::vec::Vec<(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset)>>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainTNtNtCshwwYectlSkv_5gimli6common15DebugInfoOffsetNtB12_18DebugArangesOffsetENCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyB10_NCNvMs_NtCscNW3nZcirFg_9addr2line4unitINtB3d_8ResUnitsINtNtNtB14_4read12endian_slice11EndianSliceNtNtB14_9endianity12LittleEndianEE5parse0E0INtNtB2l_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::driftsort_main::<(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset), <[(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset)]>::sort_by_key<gimli::common::DebugInfoOffset, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}, alloc::vec::Vec<(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset)>>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable14driftsort_mainTNtNtCshwwYectlSkv_5gimli6common15DebugInfoOffsetNtB12_18DebugArangesOffsetENCINvMNtCsb5QMkMGnviL_5alloc5sliceSBZ_11sort_by_keyB10_NCNvMs_NtCscNW3nZcirFg_9addr2line4unitINtB3d_8ResUnitsINtNtNtB14_4read12endian_slice11EndianSliceNtNtB14_9endianity12LittleEndianEE5parse0E0INtNtB2l_3vec3VecBZ_EECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::unstable::ipnsort::<std::backtrace_rs::symbolize::gimli::elf::ParsedSym, <[std::backtrace_rs::symbolize::gimli::elf::ParsedSym]>::sort_unstable_by_key<u64, <std::backtrace_rs::symbolize::gimli::elf::Object>::parse::{closure#3}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort8unstable7ipnsortNtNtNtNtNtCslQySVYVzS8I_3std12backtrace_rs9symbolize5gimli3elf9ParsedSymNCINvMB6_SBT_20sort_unstable_by_keyyNCNvMs_BV_NtBV_6Object5parses1_0E0EB13_+0x0): multiple definition of `core::slice::sort::unstable::ipnsort::<std::backtrace_rs::symbolize::gimli::elf::ParsedSym, <[std::backtrace_rs::symbolize::gimli::elf::ParsedSym]>::sort_unstable_by_key<u64, <std::backtrace_rs::symbolize::gimli::elf::Object>::parse::{closure#3}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtCs8lc7yIMzkER_4core5slice4sort8unstable7ipnsortNtNtNtNtNtCslQySVYVzS8I_3std12backtrace_rs9symbolize5gimli3elf9ParsedSymNCINvMB6_SBT_20sort_unstable_by_keyyNCNvMs_BV_NtBV_6Object5parses1_0E0EB13_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::quicksort::quicksort::<addr2line::line::LineSequence, <[addr2line::line::LineSequence]>::sort_by_key<u64, <addr2line::line::Lines>::parse<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>::{closure#1}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line4line12LineSequenceNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyyNCINvMs_B17_NtB17_5Lines5parseINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3i_9endianity12LittleEndianEEs_0E0ECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::quicksort::quicksort::<addr2line::line::LineSequence, <[addr2line::line::LineSequence]>::sort_by_key<u64, <addr2line::line::Lines>::parse<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>::{closure#1}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line4line12LineSequenceNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyyNCINvMs_B17_NtB17_5Lines5parseINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3i_9endianity12LittleEndianEEs_0E0ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::quicksort::quicksort::<addr2line::unit::UnitRange, <[addr2line::unit::UnitRange]>::sort_by_key<u64, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#4}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line4unit9UnitRangeNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyyNCNvMs_B17_INtB17_8ResUnitsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3b_9endianity12LittleEndianEE5parses2_0E0ECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::quicksort::quicksort::<addr2line::unit::UnitRange, <[addr2line::unit::UnitRange]>::sort_by_key<u64, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#4}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line4unit9UnitRangeNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyyNCNvMs_B17_INtB17_8ResUnitsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3b_9endianity12LittleEndianEE5parses2_0E0ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::quicksort::quicksort::<addr2line::function::FunctionAddress, <[addr2line::function::FunctionAddress]>::sort_by_key<u64, <addr2line::function::Functions<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#1}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line8function15FunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyyNCNvMs0_B17_INtB17_9FunctionsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3o_9endianity12LittleEndianEE5parses_0E0ECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::quicksort::quicksort::<addr2line::function::FunctionAddress, <[addr2line::function::FunctionAddress]>::sort_by_key<u64, <addr2line::function::Functions<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#1}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line8function15FunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyyNCNvMs0_B17_INtB17_9FunctionsINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3o_9endianity12LittleEndianEE5parses_0E0ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::quicksort::quicksort::<addr2line::function::InlinedFunctionAddress, <[addr2line::function::InlinedFunctionAddress]>::sort_by<<addr2line::function::Function<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line8function22InlinedFunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_7sort_byNCNvMs1_B17_INtB17_8FunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3o_9endianity12LittleEndianEE5parse0E0ECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::quicksort::quicksort::<addr2line::function::InlinedFunctionAddress, <[addr2line::function::InlinedFunctionAddress]>::sort_by<<addr2line::function::Function<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortNtNtCscNW3nZcirFg_9addr2line8function22InlinedFunctionAddressNCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_7sort_byNCNvMs1_B17_INtB17_8FunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB3o_9endianity12LittleEndianEE5parse0E0ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::stable::quicksort::quicksort::<(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset), <[(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset)]>::sort_by_key<gimli::common::DebugInfoOffset, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortTNtNtCshwwYectlSkv_5gimli6common15DebugInfoOffsetNtB18_18DebugArangesOffsetENCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyB16_NCNvMs_NtCscNW3nZcirFg_9addr2line4unitINtB3k_8ResUnitsINtNtNtB1a_4read12endian_slice11EndianSliceNtNtB1a_9endianity12LittleEndianEE5parse0E0ECslQySVYVzS8I_3std+0x0): multiple definition of `core::slice::sort::stable::quicksort::quicksort::<(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset), <[(gimli::common::DebugInfoOffset, gimli::common::DebugArangesOffset)]>::sort_by_key<gimli::common::DebugInfoOffset, <addr2line::unit::ResUnits<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>::parse::{closure#0}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort6stable9quicksort9quicksortTNtNtCshwwYectlSkv_5gimli6common15DebugInfoOffsetNtB18_18DebugArangesOffsetENCINvMNtCsb5QMkMGnviL_5alloc5sliceSB15_11sort_by_keyB16_NCNvMs_NtCscNW3nZcirFg_9addr2line4unitINtB3k_8ResUnitsINtNtNtB1a_4read12endian_slice11EndianSliceNtNtB1a_9endianity12LittleEndianEE5parse0E0ECslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `core::slice::sort::unstable::heapsort::heapsort::<std::backtrace_rs::symbolize::gimli::elf::ParsedSym, <[std::backtrace_rs::symbolize::gimli::elf::ParsedSym]>::sort_unstable_by_key<u64, <std::backtrace_rs::symbolize::gimli::elf::Object>::parse::{closure#3}>::{closure#0}>':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort8unstable8heapsort8heapsortNtNtNtNtNtCslQySVYVzS8I_3std12backtrace_rs9symbolize5gimli3elf9ParsedSymNCINvMB8_SB15_20sort_unstable_by_keyyNCNvMs_B17_NtB17_6Object5parses1_0E0EB1f_+0x0): multiple definition of `core::slice::sort::unstable::heapsort::heapsort::<std::backtrace_rs::symbolize::gimli::elf::ParsedSym, <[std::backtrace_rs::symbolize::gimli::elf::ParsedSym]>::sort_unstable_by_key<u64, <std::backtrace_rs::symbolize::gimli::elf::Object>::parse::{closure#3}>::{closure#0}>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RINvNtNtNtNtCs8lc7yIMzkER_4core5slice4sort8unstable8heapsort8heapsortNtNtNtNtNtCslQySVYVzS8I_3std12backtrace_rs9symbolize5gimli3elf9ParsedSymNCINvMB8_SB15_20sort_unstable_by_keyyNCNvMs_B17_NtB17_6Object5parses1_0E0EB1f_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<addr2line::function::LazyFunction<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line8function12LazyFunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1J_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<addr2line::function::LazyFunction<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line8function12LazyFunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1J_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::panicking::begin_panic::<&str>':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCslQySVYVzS8I_3std9panicking11begin_panicReEB4_+0x0): multiple definition of `std::panicking::begin_panic::<&str>'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RINvNtCslQySVYVzS8I_3std9panicking11begin_panicReEB4_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::fs::OpenOptions>::_open':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsc_NtCslQySVYVzS8I_3std2fsNtB5_11OpenOptions5__open+0x0): multiple definition of `<std::fs::OpenOptions>::_open'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsc_NtCslQySVYVzS8I_3std2fsNtB5_11OpenOptions5__open+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::panicking::default_hook':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std9panicking12default_hook+0x0): multiple definition of `std::panicking::default_hook'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std9panicking12default_hook+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<alloc::boxed::Box<dyn core::ops::function::FnMut<(), Output = core::result::Result<(), std::io::error::Error>> + core::marker::Send + core::marker::Sync>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtB7_5boxed3BoxDINtNtNtCs8lc7yIMzkER_4core3ops8function5FnMutuEp6OutputINtNtB1c_6result6ResultuNtNtNtCslQySVYVzS8I_3std2io5error5ErrorENtNtB1c_6marker4SendNtB32_4SyncEL_EE8grow_oneB2s_+0x0): multiple definition of `<alloc::raw_vec::RawVec<alloc::boxed::Box<dyn core::ops::function::FnMut<(), Output = core::result::Result<(), std::io::error::Error>> + core::marker::Send + core::marker::Sync>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtB7_5boxed3BoxDINtNtNtCs8lc7yIMzkER_4core3ops8function5FnMutuEp6OutputINtNtB1c_6result6ResultuNtNtNtCslQySVYVzS8I_3std2io5error5ErrorENtNtB1c_6marker4SendNtB32_4SyncEL_EE8grow_oneB2s_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<addr2line::unit::ResUnit<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line4unit7ResUnitINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1z_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<addr2line::unit::ResUnit<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line4unit7ResUnitINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1z_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<addr2line::unit::SupUnit<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line4unit7SupUnitINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1z_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<addr2line::unit::SupUnit<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line4unit7SupUnitINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1z_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<addr2line::function::InlinedFunction<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line8function15InlinedFunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1M_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<addr2line::function::InlinedFunction<gimli::read::endian_slice::EndianSlice<gimli::endianity::LittleEndian>>>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecINtNtCscNW3nZcirFg_9addr2line8function15InlinedFunctionINtNtNtCshwwYectlSkv_5gimli4read12endian_slice11EndianSliceNtNtB1M_9endianity12LittleEndianEEE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<std::path::Component>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecNtNtCslQySVYVzS8I_3std4path9ComponentE8grow_oneBQ_+0x0): multiple definition of `<alloc::raw_vec::RawVec<std::path::Component>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecNtNtCslQySVYVzS8I_3std4path9ComponentE8grow_oneBQ_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::raw_vec::RawVec<*const i8>>::grow_one':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecPaE8grow_oneCslQySVYVzS8I_3std+0x0): multiple definition of `<alloc::raw_vec::RawVec<*const i8>>::grow_one'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCsb5QMkMGnviL_5alloc7raw_vecINtB5_6RawVecPaE8grow_oneCslQySVYVzS8I_3std+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<core::mem::maybe_uninit::MaybeUninit<std::thread::Inner>>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcINtNtNtCs8lc7yIMzkER_4core3mem12maybe_uninit11MaybeUninitNtNtCslQySVYVzS8I_3std6thread5InnerEE9drop_slowB1F_+0x0): multiple definition of `<alloc::sync::Arc<core::mem::maybe_uninit::MaybeUninit<std::thread::Inner>>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcINtNtNtCs8lc7yIMzkER_4core3mem12maybe_uninit11MaybeUninitNtNtCslQySVYVzS8I_3std6thread5InnerEE9drop_slowB1F_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<alloc::sync::Arc<std::sync::mpmc::context::Inner>>::drop_slow':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtNtCslQySVYVzS8I_3std4sync4mpmc7context5InnerE9drop_slowBO_+0x0): multiple definition of `<alloc::sync::Arc<std::sync::mpmc::context::Inner>>::drop_slow'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsj_NtCsb5QMkMGnviL_5alloc4syncINtB5_3ArcNtNtNtNtCslQySVYVzS8I_3std4sync4mpmc7context5InnerE9drop_slowBO_+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::backtrace::BytesOrWide as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs1_NtCslQySVYVzS8I_3std9backtraceNtB5_11BytesOrWideNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::backtrace::BytesOrWide as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs1_NtCslQySVYVzS8I_3std9backtraceNtB5_11BytesOrWideNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::backtrace::BacktraceSymbol as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs0_NtCslQySVYVzS8I_3std9backtraceNtB5_15BacktraceSymbolNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::backtrace::BacktraceSymbol as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs0_NtCslQySVYVzS8I_3std9backtraceNtB5_15BacktraceSymbolNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::sys_common::wtf8::Wtf8 as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs7_NtNtCslQySVYVzS8I_3std10sys_common4wtf8NtB5_4Wtf8NtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::sys_common::wtf8::Wtf8 as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs7_NtNtCslQySVYVzS8I_3std10sys_common4wtf8NtB5_4Wtf8NtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::io::error::repr_bitpacked::Repr as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs6_NtNtCslQySVYVzS8I_3std2io5errorNtNtB5_14repr_bitpacked4ReprNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::io::error::repr_bitpacked::Repr as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs6_NtNtCslQySVYVzS8I_3std2io5errorNtNtB5_14repr_bitpacked4ReprNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::io::stdio::StderrLock as std::io::Write>::write_all':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXss_NtNtCslQySVYVzS8I_3std2io5stdioNtB5_10StderrLockNtB7_5Write9write_all+0x0): multiple definition of `<std::io::stdio::StderrLock as std::io::Write>::write_all'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXss_NtNtCslQySVYVzS8I_3std2io5stdioNtB5_10StderrLockNtB7_5Write9write_all+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::io::stdio::StdoutLock as std::io::Write>::write_all':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXsi_NtNtCslQySVYVzS8I_3std2io5stdioNtB5_10StdoutLockNtB7_5Write9write_all+0x0): multiple definition of `<std::io::stdio::StdoutLock as std::io::Write>::write_all'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXsi_NtNtCslQySVYVzS8I_3std2io5stdioNtB5_10StdoutLockNtB7_5Write9write_all+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::sys::sync::once::futex::Once>::call':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvMs0_NtNtNtNtCslQySVYVzS8I_3std3sys4sync4once5futexNtB5_4Once4call+0x0): multiple definition of `<std::sys::sync::once::futex::Once>::call'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvMs0_NtNtNtNtCslQySVYVzS8I_3std3sys4sync4once5futexNtB5_4Once4call+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::rt::lang_start_internal':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std2rt19lang_start_internal+0x0): multiple definition of `std::rt::lang_start_internal'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std2rt19lang_start_internal+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.tbss._RNvNtNtNtCslQySVYVzS8I_3std6thread7current2id2ID+0x0): multiple definition of `std::thread::current::id::ID'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.tbss._RNvNtNtNtCslQySVYVzS8I_3std6thread7current2id2ID+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::panicking::try::cleanup':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvNvNtCslQySVYVzS8I_3std9panicking3try7cleanup+0x0): multiple definition of `std::panicking::try::cleanup'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvNvNtCslQySVYVzS8I_3std9panicking3try7cleanup+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::scoped::ScopeData>::increment_num_running_threads':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMNtNtCslQySVYVzS8I_3std6thread6scopedNtB2_9ScopeData29increment_num_running_threads+0x0): multiple definition of `<std::thread::scoped::ScopeData>::increment_num_running_threads'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMNtNtCslQySVYVzS8I_3std6thread6scopedNtB2_9ScopeData29increment_num_running_threads+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::scoped::ScopeData>::decrement_num_running_threads':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMNtNtCslQySVYVzS8I_3std6thread6scopedNtB2_9ScopeData29decrement_num_running_threads+0x0): multiple definition of `<std::thread::scoped::ScopeData>::decrement_num_running_threads'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMNtNtCslQySVYVzS8I_3std6thread6scopedNtB2_9ScopeData29decrement_num_running_threads+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::scoped::Scope as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs2_NtNtCslQySVYVzS8I_3std6thread6scopedNtB5_5ScopeNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::thread::scoped::Scope as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs2_NtNtCslQySVYVzS8I_3std6thread6scopedNtB5_5ScopeNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::current::set_current':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread7current11set_current+0x0): multiple definition of `std::thread::current::set_current'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread7current11set_current+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.tbss._RNvNtNtCslQySVYVzS8I_3std6thread7current7CURRENT+0x0): multiple definition of `std::thread::current::CURRENT'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.tbss._RNvNtNtCslQySVYVzS8I_3std6thread7current7CURRENT+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::current::current_or_unnamed':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread7current18current_or_unnamed+0x0): multiple definition of `std::thread::current::current_or_unnamed'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread7current18current_or_unnamed+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread>::new':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread3new+0x0): multiple definition of `<std::thread::Thread>::new'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread3new+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::current::current':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread7current7current+0x0): multiple definition of `std::thread::current::current'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread7current7current+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::spawnhook::run_spawn_hooks':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread9spawnhook15run_spawn_hooks+0x0): multiple definition of `std::thread::spawnhook::run_spawn_hooks'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std6thread9spawnhook15run_spawn_hooks+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.tbss._RNvNCNkNvNtNtCslQySVYVzS8I_3std6thread9spawnhook11SPAWN_HOOKS003VAL+0x0): multiple definition of `std::thread::spawnhook::SPAWN_HOOKS::{closure#0}::VAL'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):(.tbss._RNvNCNkNvNtNtCslQySVYVzS8I_3std6thread9spawnhook11SPAWN_HOOKS003VAL+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::local::panic_access_error':
          std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvNtNtCslQySVYVzS8I_3std6thread5local18panic_access_error+0x0): multiple definition of `std::thread::local::panic_access_error'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text.unlikely._RNvNtNtCslQySVYVzS8I_3std6thread5local18panic_access_error+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::sys::thread_local::destructors::linux_like::register':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtNtNtCslQySVYVzS8I_3std3sys12thread_local11destructors10linux_like8register+0x0): multiple definition of `std::sys::thread_local::destructors::linux_like::register'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtNtNtCslQySVYVzS8I_3std3sys12thread_local11destructors10linux_like8register+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::spawnhook::ChildSpawnHooks>::run':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs_NtNtCslQySVYVzS8I_3std6thread9spawnhookNtB4_15ChildSpawnHooks3run+0x0): multiple definition of `<std::thread::spawnhook::ChildSpawnHooks>::run'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs_NtNtCslQySVYVzS8I_3std6thread9spawnhookNtB4_15ChildSpawnHooks3run+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::local::AccessError as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs_NtNtCslQySVYVzS8I_3std6thread5localNtB4_11AccessErrorNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::thread::local::AccessError as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs_NtNtCslQySVYVzS8I_3std6thread5localNtB4_11AccessErrorNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::local::AccessError as core::fmt::Display>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs0_NtNtCslQySVYVzS8I_3std6thread5localNtB5_11AccessErrorNtNtCs8lc7yIMzkER_4core3fmt7Display3fmt+0x0): multiple definition of `<std::thread::local::AccessError as core::fmt::Display>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs0_NtNtCslQySVYVzS8I_3std6thread5localNtB5_11AccessErrorNtNtCs8lc7yIMzkER_4core3fmt7Display3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Builder>::name':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMNtCslQySVYVzS8I_3std6threadNtB2_7Builder4name+0x0): multiple definition of `<std::thread::Builder>::name'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMNtCslQySVYVzS8I_3std6threadNtB2_7Builder4name+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::yield_now':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread9yield_now+0x0): multiple definition of `std::thread::yield_now'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread9yield_now+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::sleep_ms':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread8sleep_ms+0x0): multiple definition of `std::thread::sleep_ms'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread8sleep_ms+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::sleep':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread5sleep+0x0): multiple definition of `std::thread::sleep'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread5sleep+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::sleep_until':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread11sleep_until+0x0): multiple definition of `std::thread::sleep_until'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread11sleep_until+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::PanicGuard as core::ops::drop::Drop>::drop':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs_NtCslQySVYVzS8I_3std6threadNtB4_10PanicGuardNtNtNtCs8lc7yIMzkER_4core3ops4drop4Drop4drop+0x0): multiple definition of `<std::thread::PanicGuard as core::ops::drop::Drop>::drop'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs_NtCslQySVYVzS8I_3std6threadNtB4_10PanicGuardNtNtNtCs8lc7yIMzkER_4core3ops4drop4Drop4drop+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::park':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread4park+0x0): multiple definition of `std::thread::park'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread4park+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread>::park':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread4park+0x0): multiple definition of `<std::thread::Thread>::park'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread4park+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::park_timeout_ms':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread15park_timeout_ms+0x0): multiple definition of `std::thread::park_timeout_ms'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread15park_timeout_ms+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::park_timeout':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread12park_timeout+0x0): multiple definition of `std::thread::park_timeout'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread12park_timeout+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::ThreadId>::new':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCslQySVYVzS8I_3std6threadNtB5_8ThreadId3new+0x0): multiple definition of `<std::thread::ThreadId>::new'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs0_NtCslQySVYVzS8I_3std6threadNtB5_8ThreadId3new+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::thread_name_string::ThreadNameString as core::convert::From<alloc::string::String>>::from':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXNtNtCslQySVYVzS8I_3std6thread18thread_name_stringNtB2_16ThreadNameStringINtNtCs8lc7yIMzkER_4core7convert4FromNtNtCsb5QMkMGnviL_5alloc6string6StringE4from+0x0): multiple definition of `<std::thread::thread_name_string::ThreadNameString as core::convert::From<alloc::string::String>>::from'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXNtNtCslQySVYVzS8I_3std6thread18thread_name_stringNtB2_16ThreadNameStringINtNtCs8lc7yIMzkER_4core7convert4FromNtNtCsb5QMkMGnviL_5alloc6string6StringE4from+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread>::park_timeout':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread12park_timeout+0x0): multiple definition of `<std::thread::Thread>::park_timeout'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread12park_timeout+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread>::name':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread4name+0x0): multiple definition of `<std::thread::Thread>::name'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread4name+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread>::from_raw':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread8from_raw+0x0): multiple definition of `<std::thread::Thread>::from_raw'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread8from_raw+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread>::cname':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread5cname+0x0): multiple definition of `<std::thread::Thread>::cname'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs2_NtCslQySVYVzS8I_3std6threadNtB5_6Thread5cname+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::thread::Thread as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs3_NtCslQySVYVzS8I_3std6threadNtB5_6ThreadNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::thread::Thread as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs3_NtCslQySVYVzS8I_3std6threadNtB5_6ThreadNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::thread::available_parallelism':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread21available_parallelism+0x0): multiple definition of `std::thread::available_parallelism'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtCslQySVYVzS8I_3std6thread21available_parallelism+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::path::PathBuf>::_push':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsr_NtCslQySVYVzS8I_3std4pathNtB5_7PathBuf5__push+0x0): multiple definition of `<std::path::PathBuf>::_push'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsr_NtCslQySVYVzS8I_3std4pathNtB5_7PathBuf5__push+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `std::sys_common::fs::exists':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std10sys_common2fs6exists+0x0): multiple definition of `std::sys_common::fs::exists'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvNtNtCslQySVYVzS8I_3std10sys_common2fs6exists+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::path::PathBuf>::pop':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsr_NtCslQySVYVzS8I_3std4pathNtB5_7PathBuf3pop+0x0): multiple definition of `<std::path::PathBuf>::pop'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMsr_NtCslQySVYVzS8I_3std4pathNtB5_7PathBuf3pop+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::path::Path>::_starts_with':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs12_NtCslQySVYVzS8I_3std4pathNtB6_4Path12__starts_with+0x0): multiple definition of `<std::path::Path>::_starts_with'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvMs12_NtCslQySVYVzS8I_3std4pathNtB6_4Path12__starts_with+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<&std::fs::File as std::io::Read>::read_to_string':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs3_NtCslQySVYVzS8I_3std2fsRNtB5_4FileNtNtB7_2io4Read14read_to_string+0x0): multiple definition of `<&std::fs::File as std::io::Read>::read_to_string'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs3_NtCslQySVYVzS8I_3std2fsRNtB5_4FileNtNtB7_2io4Read14read_to_string+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::backtrace::Backtrace as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXNtCslQySVYVzS8I_3std9backtraceNtB2_9BacktraceNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::backtrace::Backtrace as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXNtCslQySVYVzS8I_3std9backtraceNtB2_9BacktraceNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::backtrace::BacktraceFrame as core::fmt::Debug>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs_NtCslQySVYVzS8I_3std9backtraceNtB4_14BacktraceFrameNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): multiple definition of `<std::backtrace::BacktraceFrame as core::fmt::Debug>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs_NtCslQySVYVzS8I_3std9backtraceNtB4_14BacktraceFrameNtNtCs8lc7yIMzkER_4core3fmt5Debug3fmt+0x0): first defined here
          /usr/bin/ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57bb1369ea999cb0.rlib(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o): in function `<std::backtrace_rs::symbolize::SymbolName as core::fmt::Display>::fmt':
          std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs2_NtNtCslQySVYVzS8I_3std12backtrace_rs9symbolizeNtB5_10SymbolNameNtNtCs8lc7yIMzkER_4core3fmt7Display3fmt+0x0): multiple definition of `<std::backtrace_rs::symbolize::SymbolName as core::fmt::Display>::fmt'; /checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/native-lib-alt-naming/rmake_out/libnative.a(std-57bb1369ea999cb0.std.fe7983bd86f0ca2e-cgu.0.rcgu.o):std.fe7983bd86f0ca2e-cgu.0:(.text._RNvXs2_NtNtCslQySVYVzS8I_3std12backtrace_rs9symbolizeNtB5_10SymbolNameNtNtCs8lc7yIMzkER_4core3fmt7Display3fmt+0x0): first defined here

@dianqk
Copy link
Member Author

dianqk commented Feb 24, 2025

@bors try

@bors
Copy link
Collaborator

bors commented Feb 24, 2025

⌛ Trying commit 73d739f with merge 80ade6f...

bors added a commit to rust-lang-ci/rust that referenced this pull request Feb 24, 2025
[perf experiment] Link rlibs with `--whole-archive`

For rust-lang#137426 (comment).

r? ghost
@bors
Copy link
Collaborator

bors commented Feb 24, 2025

☀️ Try build successful - checks-actions
Build commit: 80ade6f (80ade6f4abfee5a9596b7159097729c3a4c53d59)

@rust-timer

This comment has been minimized.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (80ade6f): comparison URL.

Overall result: ❌ regressions - please read the text below

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf.

Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @rustbot label: +perf-regression-triaged along with sufficient written justification. If you cannot justify the regressions please fix the regressions and do another perf run. If the next run shows neutral or positive results, the label will be automatically removed.

@bors rollup=never
@rustbot label: -S-waiting-on-perf +perf-regression

Instruction count

This is the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.

mean range count
Regressions ❌
(primary)
6.1% [0.3%, 15.0%] 16
Regressions ❌
(secondary)
3.8% [0.2%, 19.8%] 65
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 6.1% [0.3%, 15.0%] 16

Max RSS (memory usage)

Results (secondary -4.3%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.3% [-4.3%, -4.3%] 1
All ❌✅ (primary) - - 0

Cycles

Results (primary 7.6%, secondary 11.0%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
10.7% [2.3%, 20.6%] 8
Regressions ❌
(secondary)
11.0% [1.8%, 25.6%] 29
Improvements ✅
(primary)
-4.5% [-5.8%, -3.2%] 2
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 7.6% [-5.8%, 20.6%] 10

Binary size

Results (primary 3.3%, secondary 9.1%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
3.3% [0.4%, 13.7%] 32
Regressions ❌
(secondary)
9.1% [2.1%, 35.3%] 74
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 3.3% [0.4%, 13.7%] 32

Bootstrap: 770.257s -> 770.402s (0.02%)
Artifact size: 359.67 MiB -> 362.39 MiB (0.75%)

@rustbot rustbot added perf-regression Performance regression. and removed S-waiting-on-perf Status: Waiting on a perf run to be completed. labels Feb 24, 2025
@dianqk
Copy link
Member Author

dianqk commented Feb 24, 2025

It's not bad for me, the obvious increases are all small examples.

@madsmtm
Copy link
Contributor

madsmtm commented Feb 24, 2025

Do you think it'd be possible to test the performance differential with Apple's ld64, and maybe lld too? I suspect the performance characteristics of --whole-archive to be different there (though I wouldn't know if it were better or worse).

@dianqk
Copy link
Member Author

dianqk commented Feb 28, 2025

Do you think it'd be possible to test the performance differential with Apple's ld64, and maybe lld too? I suspect the performance characteristics of --whole-archive to be different there (though I wouldn't know if it were better or worse).

Yes. But there's no infrastructure at all yet.

@dianqk
Copy link
Member Author

dianqk commented Feb 28, 2025

          If we do `--whole-archive` for all platforms then I think we should split Windows `raw-dylib` generated imports into a separate staticlib file. While it should now work with `whole-archive`, I still don't think it's a great idea.

Originally posted by @ChrisDenton in #137426 (comment)

I know nothing about Windows, so I'm closing the PR. Free to pick it.

          I think we should link all rlibs with `--whole-archive`. That would also make some currently cgu partitioning dependent linker errors when an unused function references an undefined symbol consistently produce errors independent of which cgu it ends up in.

Originally posted by @bjorn3 in #137426 (comment)

I gave this some more thought, and I don't think it's a major problem. Why do we need to understand more about the linker's behavior when using C, whereas we don't have to with Rust? This struck me as a bit odd. I probably prefer to keep the default behavior as it is in C (or the default behavior of linker).

If --whole-archive is not used, I have another concern is that if two static libraries define same-name symbols with different implement, accidental changes in the linking order could lead to unexpected and undesirable results. This behavior could be useful, but I also think it's dangerous.

@dianqk dianqk closed this Feb 28, 2025
@dianqk dianqk deleted the whole-archive branch March 20, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-run-make Area: port run-make Makefiles to rmake.rs perf-regression Performance regression. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants