rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.91k stars 12.68k forks source link

windows-gnu thin-lto test linking error regression #109797

Open ehuss opened 1 year ago

ehuss commented 1 year ago

I tried this code:

fn foo() -> i32 { 123 }
#[test]
fn t1() {
    assert_eq!(123, foo());
}

on nightly-x86_64-pc-windows-gnu build with:

rustc +nightly-x86_64-pc-windows-gnu --crate-type=rlib --test a.rs -Clto=thin

fails with the following:

error: linking with `x86_64-w64-mingw32-gcc` failed: exit code: 1
  |
  = note: "x86_64-w64-mingw32-gcc" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-m64" "-Wl,--high-entropy-va" "C:\\Users\\eric\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsbegin.o" "C:\\Users\\eric\\AppData\\Local\\Temp\\rustcyOSy5J\\symbols.o" "a.4t871vwdyeabm02q.rcgu.o" "a.a.61cd5f8b-cgu.0.rcgu.o" "a.a.61cd5f8b-cgu.1.rcgu.o" "a.a.61cd5f8b-cgu.10.rcgu.o" "a.a.61cd5f8b-cgu.11.rcgu.o" "a.a.61cd5f8b-cgu.12.rcgu.o" "a.a.61cd5f8b-cgu.13.rcgu.o" "a.a.61cd5f8b-cgu.14.rcgu.o" "a.a.61cd5f8b-cgu.15.rcgu.o" "a.a.61cd5f8b-cgu.2.rcgu.o" "a.a.61cd5f8b-cgu.3.rcgu.o" "a.a.61cd5f8b-cgu.4.rcgu.o" "a.a.61cd5f8b-cgu.5.rcgu.o" "a.a.61cd5f8b-cgu.6.rcgu.o" "a.a.61cd5f8b-cgu.7.rcgu.o" "a.a.61cd5f8b-cgu.8.rcgu.o" "a.a.61cd5f8b-cgu.9.rcgu.o" "a.addr2line-e34e07a4d7786659.addr2line.fd7fb569-cgu.0.rcgu.o.rcgu.o" "a.adler-e67292d9669c34e0.adler.16cc2841-cgu.0.rcgu.o.rcgu.o" "a.alloc-969f5954db9f5307.alloc.6f7cee79-cgu.0.rcgu.o.rcgu.o" "a.cfg_if-76a81c202f0ccb5f.cfg_if.df496f28-cgu.0.rcgu.o.rcgu.o" "a.core-0e5c5feeef4bd6da.core.b4cd48a9-cgu.0.rcgu.o.rcgu.o" "a.getopts-ccb55dfc373e3d25.getopts.4dd93864-cgu.0.rcgu.o.rcgu.o" "a.gimli-82035f26b7bf9024.gimli.91487578-cgu.0.rcgu.o.rcgu.o" "a.hashbrown-e927ac1bf7c14142.hashbrown.7ef52bd4-cgu.0.rcgu.o.rcgu.o" "a.libc-d832e31700c53506.libc.1785f97e-cgu.0.rcgu.o.rcgu.o" "a.memchr-b085a071efd1b005.memchr.baed133d-cgu.0.rcgu.o.rcgu.o" "a.miniz_oxide-f82c88e5c1cf09bf.miniz_oxide.a08d015c-cgu.0.rcgu.o.rcgu.o" "a.object-2f913c3da81f78c9.object.6fc07ae9-cgu.0.rcgu.o.rcgu.o" "a.panic_unwind-9f4d8fbdba5c2366.panic_unwind.22114424-cgu.0.rcgu.o.rcgu.o" "a.rustc_demangle-0cbd9ed834f33718.rustc_demangle.b0fc4edd-cgu.0.rcgu.o.rcgu.o" "a.rustc_std_workspace_alloc-d1155bdb49433489.rustc_std_workspace_alloc.7abf0124-cgu.0.rcgu.o.rcgu.o" "a.rustc_std_workspace_core-043dcb5cef4e65e2.rustc_std_workspace_core.a8d73a4a-cgu.0.rcgu.o.rcgu.o" "a.rustc_std_workspace_std-e9d725c7c5878e94.rustc_std_workspace_std.e917d0c7-cgu.0.rcgu.o.rcgu.o" "a.std-faaf1643ba52282f.std.30887cc3-cgu.0.rcgu.o.rcgu.o" "a.std_detect-64553010de700922.std_detect.9ab1934b-cgu.0.rcgu.o.rcgu.o" "a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o" "a.unicode_width-daa9f2050e9b5984.unicode_width.cad444c9-cgu.0.rcgu.o.rcgu.o" "a.unwind-b196c52b5fece325.unwind.8a38af4f-cgu.0.rcgu.o.rcgu.o" "-L" "C:\\Users\\eric\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-Wl,-Bstatic" "C:\\Users\\eric\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\libcompiler_builtins-0f9dac47dd59487e.rlib" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-ladvapi32" "-luserenv" "-lkernel32" "-lws2_32" "-lbcrypt" "-lntdll" "-lgcc_eh" "-l:libpthread.a" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "C:\\Users\\eric\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib" "-o" "a.exe" "-Wl,--gc-sections" "-no-pie" "-nodefaultlibs" "C:\\Users\\eric\\.rustup\\toolchains\\nightly-x86_64-pc-windows-gnu\\lib\\rustlib\\x86_64-pc-windows-gnu\\lib\\rsend.o"
  = note: Warning: .drectve `-exclude-symbols:"_ZN5alloc5alloc6Global10alloc_impl17he9e5bb7ad554cd16E.llvm.4337149644446195150" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$15allocate_zeroed17h3df56af010bd4fcbE" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17haffb670f75908b03E" ' unrecognized
          Warning: .drectve `-exclude-symbols:_ZN4core3ops8function6FnOnce9call_once17h0cce97e33e423a63E ' unrecognized
          Warning: .drectve `-exclude-symbols:_ZN4core3ops8function6FnOnce9call_once17h15483796719bed22E ' unrecognized
          Warning: .drectve `-exclude-symbols:_ZN4core3ops8function6FnOnce9call_once17hb43d7c28f5185ae1E ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr28drop_in_place$LT$$RF$i32$GT$17h94861386747982cfE" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN54_$LT$$LP$$RP$$u20$as$u20$std..process..Termination$GT$6report17h5d36e756c540003eE" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h49159d07526be16aE" ' unrecognized
          Warning: .drectve `-exclude-symbols:_ZN4core3fmt9Arguments6as_str17hea68764363a9b15aE ' unrecognized
          Warning: .drectve `-exclude-symbols:_ZN4core3fmt9Arguments6new_v117hb5e05bd879d47618E ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3fmt9Arguments9new_const17h7436100f22bf9529E.llvm.1194062581803990696" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.4b56a0b5f6694d789dfe89a9892a04a4.0.llvm.1194062581803990696" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.4b56a0b5f6694d789dfe89a9892a04a4.1.llvm.1194062581803990696" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.4b56a0b5f6694d789dfe89a9892a04a4.2.llvm.1194062581803990696" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.4b56a0b5f6694d789dfe89a9892a04a4.3.llvm.1194062581803990696" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.4b56a0b5f6694d789dfe89a9892a04a4.4.llvm.1194062581803990696" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:_ZN4core5alloc6layout6Layout5array5inner17h49c16ff47a1af3ebE ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.5c3d2dacf18a7ddfe9a038b769aae159.0.llvm.11387654457418161340" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.5c3d2dacf18a7ddfe9a038b769aae159.1.llvm.11387654457418161340" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:_ZN4test18assert_test_result17h0ccec3f7e169b3ebE ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.17acf33759eebe1505509419dca78751.0.llvm.15149271904982988735" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.17acf33759eebe1505509419dca78751.1.llvm.15149271904982988735" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:_ZN3std2rt10lang_start17hc80905b82a2e5dbaE ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7d$17h11365aa62e18db30E" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN1a3foo17h4d1a0f0eff1045c1E.llvm.17531416167316429025" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN1a2t128_$u7b$$u7b$closure$u7d$$u7d$17hb060116f82fad3c1E" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN1a2t117h75295fc5020ecfabE.llvm.17531416167316429025" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.5f9a5e1ee52c964240330feaba230d84.0.llvm.17531416167316429025" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.5f9a5e1ee52c964240330feaba230d84.1.llvm.17531416167316429025" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h87a55bd1526f1618E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3fmt3num52_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$3fmt17h2a60cdee5217c80eE.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr26drop_in_place$LT$usize$GT$17h8ee0051082811330E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr42drop_in_place$LT$alloc..string..String$GT$17hbf2c92dc7361c5ccE.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr46drop_in_place$LT$alloc..vec..Vec$LT$u8$GT$$GT$17hda7a9311ac5b1e9eE.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17hca73b0e9f7ed6281E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$16reserve_for_push17ha92d10273976cb48E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc7raw_vec11finish_grow17ha0a00f41434464b9E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc6string6String4push17hdf2c150167c404e4E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc3vec16Vec$LT$T$C$A$GT$16into_boxed_slice17he3f141bd27efa902E.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.3.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.5.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.6.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.8.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.9.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.10.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.11.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.26.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.27.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.28.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.44.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.45.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.55.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.56.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.83.llvm.9681566160512963055" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.0a12364b2a84c198112ae57913b584db.84.llvm.9681566160512963055" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function6FnOnce9call_once17h6e235e55817a9afbE.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3num14from_str_radix17h937d002584a2e1b5E.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3fmt8builders10DebugInner5entry17h040926ef700ad0c7E.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN57_$LT$core..time..Duration$u20$as$u20$core..fmt..Debug$GT$3fmt11fmt_decimal17h79878006e533c0ceE.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core7unicode9printable5check17h8c693111545a131aE.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17hbc3de83f24e456d3E.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.122.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.123.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.154.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.245.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.249.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.255.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.289.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.290.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.291.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.292.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.293.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.296.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.302.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.313.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.314.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.315.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.318.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.332.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.333.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.341.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.342.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.343.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.344.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.432.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.433.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.434.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.435.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.438.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.439.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.444.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.445.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.446.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.447.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.460.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.461.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.462.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.463.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.464.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.465.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.466.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.770.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8c84fd56e01e2c3c331192433c512dcb.771.llvm.8502872252293509092" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core7unicode12unicode_data15grapheme_extend17SHORT_OFFSET_RUNS17h2efa4f01c07c79e3E.llvm.8502872252293509092" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr52drop_in_place$LT$gimli..read..abbrev..Attributes$GT$17hfae77ec6af0e39bdE.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr87drop_in_place$LT$alloc..vec..Vec$LT$gimli..read..abbrev..AttributeSpecification$GT$$GT$17hf2feeae26b4241c5E.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core9panicking13assert_failed17hda472c584a1f4a1fE.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$16reserve_for_push17h1d474dcf0423647dE.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.26.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.27.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.28.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.29.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.30.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.31.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.32.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.33.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.34.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.35.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.36.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.37.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.38.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.39.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.40.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.41.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.42.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.43.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.44.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.45.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.46.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.47.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.59.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.61.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.ef01363071d5bd76e6ada4bd6d5860ae.62.llvm.18061662496268298583" ' unrecognized
          Warning: .drectve `-exclude-symbols:"reltable._ZN5gimli6common9SectionId4name17h017013c960cfceb1E.llvm.18061662496268298583" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"anon.8d8460f0ef80d685dd8c24da5737013b.0.llvm.3761856294638630515" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8d8460f0ef80d685dd8c24da5737013b.1.llvm.3761856294638630515" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8d8460f0ef80d685dd8c24da5737013b.2.llvm.3761856294638630515" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.8d8460f0ef80d685dd8c24da5737013b.3.llvm.3761856294638630515" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"anon.a3302daad1e130f428a423e3cc1ce0b9.39.llvm.11953851403825292081" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.a3302daad1e130f428a423e3cc1ce0b9.40.llvm.11953851403825292081" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.a3302daad1e130f428a423e3cc1ce0b9.43.llvm.11953851403825292081" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr54drop_in_place$LT$panic_unwind..real_imp..Exception$GT$17hee4e90e197ca00caE.llvm.2905017987989091777" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc5alloc8box_free17h47749bee62ca11e2E.llvm.2905017987989091777" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN12panic_unwind8real_imp5panic17exception_cleanup17ha5d09b8c28f06837E.llvm.2905017987989091777" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17hf4b544ab01d8581aE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3fmt5Write10write_char17h3059e7f5d8fb52faE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3fmt5Write9write_fmt17h13bb8912afdefe74E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function2Fn4call17hdb8f96ea00303250E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function5FnMut8call_mut17h63ee00ef4258cac3E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h4f6dee6504c0b000E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17h9cb08ce1c2db3dcfE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function6FnOnce40call_once$u7b$$u7b$vtable.shim$u7d$$u7d$17hc2d5ebb02ee731d3E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr100drop_in_place$LT$$RF$mut$u20$std..io..Write..write_fmt..Adapter$LT$alloc..vec..Vec$LT$u8$GT$$GT$$GT$17h760662e5942d98eaE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr107drop_in_place$LT$alloc..sync..Arc$LT$core..mem..maybe_uninit..MaybeUninit$LT$std..thread..Inner$GT$$GT$$GT$17h0aabf4918c317689E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr115drop_in_place$LT$core..cell..RefMut$LT$core..option..Option$LT$std..sys_common..thread_info..ThreadInfo$GT$$GT$$GT$17hdc61331981c0729dE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr129drop_in_place$LT$core..option..Option$LT$alloc..sync..Arc$LT$std..sync..mutex..Mutex$LT$alloc..vec..Vec$LT$u8$GT$$GT$$GT$$GT$$GT$17hed399de4ec7acecfE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr130drop_in_place$LT$core..result..Result$LT$$LP$$RP$$C$alloc..boxed..Box$LT$dyn$u20$core..any..Any$u2b$core..marker..Send$GT$$GT$$GT$17he2accca92f383792E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr131drop_in_place$LT$alloc..boxed..Box$LT$dyn$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$u2b$Output$u20$$u3d$$u20$$LP$$RP$$GT$$GT$17h480a1798f7302b27E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr169drop_in_place$LT$std..sync..remutex..ReentrantMutexGuard$LT$core..cell..RefCell$LT$std..io..buffered..linewriter..LineWriter$LT$std..io..stdio..StdoutRaw$GT$$GT$$GT$$GT$17he14ed99b5e58e756E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr34drop_in_place$LT$std..fs..File$GT$17h55c02b17e26abf17E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr39drop_in_place$LT$std..path..PathBuf$GT$17h13483163fb55b48dE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr40drop_in_place$LT$std..thread..Thread$GT$17h403504affbef87edE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr42drop_in_place$LT$std..io..error..Error$GT$17h9dcab33e59ebbf38E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr44drop_in_place$LT$std..thread..PanicGuard$GT$17h0725b71d3785ade2E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr55drop_in_place$LT$std..sys..windows..process..EnvKey$GT$17h81ac1eab588a6bfdE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr70drop_in_place$LT$core..option..Option$LT$std..io..error..Error$GT$$GT$17h6d8cc901371010c5E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr75drop_in_place$LT$core..option..Option$LT$alloc..ffi..c_str..CString$GT$$GT$17h89fff15a4988fc69E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr81drop_in_place$LT$alloc..sync..ArcInner$LT$std..sync..mpmc..context..Inner$GT$$GT$17h2f34f045ccf1a7beE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr88drop_in_place$LT$std..io..Write..write_fmt..Adapter$LT$alloc..vec..Vec$LT$u8$GT$$GT$$GT$17hdcdacbd1dd31dc36E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr99drop_in_place$LT$core..result..Result$LT$alloc..vec..Vec$LT$u16$GT$$C$std..io..error..Error$GT$$GT$17h444d489f7e615683E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core9panicking13assert_failed17h3b8c79f7127325a5E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core9panicking13assert_failed17hc39df4cab066106bE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc11collections5btree3map25BTreeMap$LT$K$C$V$C$A$GT$6insert17ha38b70bff4d54e48E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc4sync12Arc$LT$T$GT$9drop_slow17h53f498a33b9322e7E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc4sync12Arc$LT$T$GT$9drop_slow17h7176a573cbfc136fE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc4sync12Arc$LT$T$GT$9drop_slow17h9acaa15af82ac222E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc5alloc8box_free17h2a9960a0ad00f89aE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc5alloc8box_free17h6502a3ffb41e429eE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc5alloc8box_free17h765005fe5436855bE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc7raw_vec11finish_grow17h2e04d77d7742251eE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17h0447752f5271d6b1E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN98_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..spec_from_iter..SpecFromIter$LT$T$C$I$GT$$GT$9from_iter17h6be592ef24f0dacaE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2rt7cleanup17ha1c7cfb3ecdefbaaE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std6thread8ThreadId3new9exhausted17h48f7fdbf3cba4755E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2fs24buffer_capacity_required17h4b18e42192ba6171E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io8buffered9bufwriter18BufWriter$LT$W$GT$9flush_buf17h6e44ad254e27935eE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN93_$LT$std..io..buffered..linewritershim..LineWriterShim$LT$W$GT$$u20$as$u20$std..io..Write$GT$5write17hda0c3a86b0fb2213E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io5stdio31print_to_buffer_if_capture_used17h0d65a75b40214a9dE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io19default_read_to_end17h4c5484822c212e29E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io5Write9write_fmt17he4352e86d2f3e8d7E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN80_$LT$std..io..Write..write_fmt..Adapter$LT$T$GT$$u20$as$u20$core..fmt..Write$GT$9write_str17h927caae87771a0ffE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h278f5dee15913551E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std4sync4once4Once15call_once_force28_$u7b$$u7b$closure$u7d$$u7d$17h012d5e388423a1c0E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std4sync9once_lock17OnceLock$LT$T$GT$10initialize17hf6077e76e9862741E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std10sys_common9backtrace26__rust_end_short_backtrace17h81966968fabaed34E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std5alloc24default_alloc_error_hook17h8443bdb2c52c1c90E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io5stdio14OUTPUT_CAPTURE7__getit17h93f47ac83ed46fa3E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit17ha10f85edebd81b94E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std4sync7remutex25current_thread_unique_ptr1X7__getit17h26d60546bb5780afE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows2fs4File4open17h3f7c2f960095725fE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows2fs4File9file_attr17h4b57ec2e4206a293E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows6handle6Handle17synchronous_write17h249904b3aae86e6aE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows2os4exit17h385a377ab0d3e190E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows7process6EnvKey3new17hb519b4e04996dea7E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows4rand12fallback_rng17h133229bed973a749E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows5stdio5write17haa0ebbef09514af8E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows6thread6Thread3new12thread_start17he635c80ec374bc12E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows7to_u16s5inner17h13207a1688e49667E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std10sys_common11thread_info11THREAD_INFO7__getit17hda570aabc4282b7bE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std9panicking11panic_count17LOCAL_PANIC_COUNT7__getit17hc4da7a429c9822efE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"str.3.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.30.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.31.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.32.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.33.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.34.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.41.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.62.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.63.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.64.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.65.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.157.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.158.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.159.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.162.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.163.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2rt7cleanup7CLEANUP17hc848c5de7b74d00eE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.168.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.169.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.170.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.171.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.181.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.182.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.183.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.185.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.188.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.189.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.190.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.191.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.192.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.193.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.194.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.229.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.248.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.266.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io5stdio19OUTPUT_CAPTURE_USED17h33b5a16b3db3ce67E.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io5stdio6STDOUT17h1fbbefa25835ea81E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.360.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.361.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.364.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.366.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std2io5stdio6stderr8INSTANCE17h870fb7e1ae92c911E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.377.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.378.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.379.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.380.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.381.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.382.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.403.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.404.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.407.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.487.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.488.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.491.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.494.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.500.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.501.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.502.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.503.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.504.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.505.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.531.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.537.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.538.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.539.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.540.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.541.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.560.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.561.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std5alloc4HOOK17hd3c6e34c336b5786E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.569.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.570.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.571.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.572.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.573.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.574.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.575.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.576.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.577.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.578.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.590.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.591.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std6thread8ThreadId3new7COUNTER17h248ad08048b57be8E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std4sync7remutex25current_thread_unique_ptr1X7__getit5__KEY17hedef08c18aaaa17eE.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.881.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.882.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.883.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.884.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.928.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.929.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.930.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.931.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.932.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.933.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.934.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.935.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.936.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.937.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.938.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.939.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows16thread_local_key5DTORS17ha4de49b190139d24E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.943.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.944.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.945.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.946.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows14thread_parking18keyed_event_handle6HANDLE17hda521489766e6db8E.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.950.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.952.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows4time12perf_counter9frequency9FREQUENCY17hf651f63241317b5dE.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"anon.f85925fcb396736364bfe220756f3679.953.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c20SetThreadDescription3PTR17h6ea38e601835d5b1E.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c30GetSystemTimePreciseAsFileTime3PTR17h1c238515ce018820E.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c13WaitOnAddress3PTR17h330e007f8ba4f04fE.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c19WakeByAddressSingle3PTR17h47c73823ebf61e57E.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c18NtCreateKeyedEvent3PTR17h0c82ac6c17d88af1E.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c19NtReleaseKeyedEvent3PTR17h1102c3e48fc171c7E.0.llvm.4728700607303934779" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN3std3sys7windows1c19NtWaitForKeyedEvent3PTR17hfbfd886fb17108b4E.0.llvm.4728700607303934779" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: .drectve `-exclude-symbols:"_ZN4core3ops8function5FnMut8call_mut17h3acd30307030e981E.llvm.1469297469371447976" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr539drop_in_place$LT$core..iter..adapters..map..map_fold$LT$$RF$$RF$test..types..TestDescAndFn$C$test..types..TestDescAndFn$C$$LP$$RP$$C$test..make_owned_test$C$core..iter..traits..iterator..Iterator..for_each..call$LT$test..types..TestDescAndFn$C$alloc..vec..Vec$LT$test..types..TestDescAndFn$GT$..extend_trusted$LT$core..iter..adapters..map..Map$LT$core..slice..iter..Iter$LT$$RF$test..types..TestDescAndFn$GT$$C$test..make_owned_test$GT$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$..$u7b$$u7b$closure$u7d$$u7d$$GT$17hc5d8d67c20439353E.llvm.1469297469371447976" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr57drop_in_place$LT$$u5b$test..types..TestDescAndFn$u5d$$GT$17h6dba38164ed18f44E.llvm.1469297469371447976" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr65drop_in_place$LT$alloc..vec..Vec$LT$alloc..string..String$GT$$GT$17h79dfb49c3a665e3fE.llvm.1469297469371447976" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr70drop_in_place$LT$alloc..vec..Vec$LT$test..types..TestDescAndFn$GT$$GT$17he70d8900e0201eeaE.llvm.1469297469371447976" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN4core3ptr77drop_in_place$LT$alloc..raw_vec..RawVec$LT$test..types..TestDescAndFn$GT$$GT$17h08dbfccda50aaebfE.llvm.1469297469371447976" ' unrecognized
          Warning: .drectve `-exclude-symbols:"_ZN98_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..spec_from_iter..SpecFromIter$LT$T$C$I$GT$$GT$9from_iter17h7b15a30c5782744aE.llvm.1469297469371447976" ' unrecognized
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `core::sync::atomic::atomic_load':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\core\src\sync/atomic.rs:3160: undefined reference to `__imp__ZN3std11collections4hash3map11RandomState3new4KEYS7__getit5__KEY17ha79009acd5a0a152E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `std::sys::windows::thread_local_key::StaticKey::key':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: undefined reference to `__imp__ZN3std11collections4hash3map11RandomState3new4KEYS7__getit5__KEY17ha79009acd5a0a152E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `core::sync::atomic::atomic_load':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\core\src\sync/atomic.rs:3160: undefined reference to `__imp__ZN3std11collections4hash3map11RandomState3new4KEYS7__getit5__KEY17ha79009acd5a0a152E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `std::sys::windows::thread_local_key::StaticKey::key':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: undefined reference to `__imp__ZN3std11collections4hash3map11RandomState3new4KEYS7__getit5__KEY17ha79009acd5a0a152E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `alloc::boxed::Box<T>::new':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\alloc\src/boxed.rs:220: undefined reference to `__imp__ZN3std11collections4hash3map11RandomState3new4KEYS7__getit5__KEY17ha79009acd5a0a152E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o:/rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: more undefined references to `__imp__ZN3std11collections4hash3map11RandomState3new4KEYS7__getit5__KEY17ha79009acd5a0a152E' follow
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `core::sync::atomic::atomic_load':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\core\src\sync/atomic.rs:3160: undefined reference to `__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit5__KEY17h7b886c659e808290E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `std::sys::windows::thread_local_key::StaticKey::key':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: undefined reference to `__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit5__KEY17h7b886c659e808290E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `core::sync::atomic::atomic_load':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\core\src\sync/atomic.rs:3160: undefined reference to `__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit5__KEY17h7b886c659e808290E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `std::sys::windows::thread_local_key::StaticKey::key':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: undefined reference to `__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit5__KEY17h7b886c659e808290E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `alloc::boxed::Box<T>::new':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\alloc\src/boxed.rs:220: undefined reference to `__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit5__KEY17h7b886c659e808290E'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o:/rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: more undefined references to `__imp__ZN3std4sync4mpmc5waker17current_thread_id5DUMMY7__getit5__KEY17h7b886c659e808290E' follow
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `core::sync::atomic::atomic_load':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\core\src\sync/atomic.rs:3160: undefined reference to `__imp__ZN3std4sync4mpmc7context7Context4with7CONTEXT7__getit5__KEY17h8574c17f3f27fc3bE'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `std::sys::windows::thread_local_key::StaticKey::key':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: undefined reference to `__imp__ZN3std4sync4mpmc7context7Context4with7CONTEXT7__getit5__KEY17h8574c17f3f27fc3bE'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `core::sync::atomic::atomic_load':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\core\src\sync/atomic.rs:3160: undefined reference to `__imp__ZN3std4sync4mpmc7context7Context4with7CONTEXT7__getit5__KEY17h8574c17f3f27fc3bE'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `std::sys::windows::thread_local_key::StaticKey::key':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: undefined reference to `__imp__ZN3std4sync4mpmc7context7Context4with7CONTEXT7__getit5__KEY17h8574c17f3f27fc3bE'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o: in function `alloc::boxed::Box<T>::new':
          /rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\alloc\src/boxed.rs:220: undefined reference to `__imp__ZN3std4sync4mpmc7context7Context4with7CONTEXT7__getit5__KEY17h8574c17f3f27fc3bE'
          c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: a.test-d9f63c742296ba6e.test.d73e83cc-cgu.0.rcgu.o.rcgu.o:/rustc/17c11672167827b0dd92c88ef69f24346d1286dd/library\std\src\sys\windows/thread_local_key.rs:79: more undefined references to `__imp__ZN3std4sync4mpmc7context7Context4with7CONTEXT7__getit5__KEY17h8574c17f3f27fc3bE' follow
          collect2.exe: error: ld returned 1 exit status

  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: aborting due to previous error

This was discovered in Cargo's testsuite.

Bisected this to #108089. cc @Zoxc @bjorn3

Workaround

Use LLD (RUSTFLAGS=-Clink-arg=-fuse-ld=lld assuming you have it in PATH), or use fat LTO, or disable LTO.

Meta

rustc --version --verbose:

rustc 1.70.0-nightly (17c116721 2023-03-29)
binary: rustc
commit-hash: 17c11672167827b0dd92c88ef69f24346d1286dd
commit-date: 2023-03-29
host: x86_64-pc-windows-gnu
release: 1.70.0-nightly
LLVM version: 16.0.0
apiraino commented 1 year ago

WG-prioritization assigning priority (Zulip discussion).

@rustbot label -I-prioritize +P-high

pnkfelix commented 1 year ago

After PR #109806 lands, we should keep this open and tag it as E-needs-test, to try to catch regressions while this linker bug persists (assuming our CI covers this case...)

mati865 commented 9 months ago

I don't think that issue is fixed, it has been worked around in std but there are libs which also want to inline funcions using statics like here https://github.com/tokio-rs/tracing/blob/bac25085fcea68ca30b8e19b8981fbd689f53735/tracing-core/src/dispatch.rs#L503 causing issues in downstream crates: https://github.com/astral-sh/ruff/issues/9245

klensy commented 8 months ago

Still here? Looks similar https://github.com/rust-lang/rust/pull/120679#issuecomment-1927792692 when bumping memchr to 2.6.0

apiraino commented 8 months ago

WG-prioritization assigning again priority label, seems the workaround in #109806 had limited effect.

@rustbot label -E-needs-test +P-high

mati865 commented 8 months ago

As I described in my previous comment the workaround only affects std library. Any downstream crate trying to perform the same optimisation will hit the same problem.

mati865 commented 4 months ago

Since this issue is linked in various places, let's at least put the workaround in a visible spot (the bottom of the issue is not ideal but better than searching linked issues):

Workaround

Use LLD (RUSTFLAGS=-Clink-arg=-fuse-ld=lld assuming you have it in PATH), or use fat LTO, or disable LTO.