Skip to content

[WIP] Use weak aliases for the allocator shim #142366

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

bjorn3
Copy link
Member

@bjorn3 bjorn3 commented Jun 11, 2025

No description provided.

@rustbot
Copy link
Collaborator

rustbot commented Jun 11, 2025

r? @SparrowLii

rustbot has assigned @SparrowLii.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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 Jun 11, 2025
@rustbot
Copy link
Collaborator

rustbot commented Jun 11, 2025

Some changes occurred in compiler/rustc_codegen_ssa

cc @WaffleLapkin

Some changes occurred in coverage instrumentation.

cc @Zalathar

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 11, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

rust-bors bot added a commit that referenced this pull request Jun 11, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

⌛ Trying commit 570b0f8 with merge 338bf41

To cancel the try build, run the command @bors2 try cancel.

@rust-log-analyzer

This comment has been minimized.

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 11, 2025

@bors2 try cancel

forgot to fix warnings....

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

Try build cancelled. Cancelled workflows:

@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

⌛ Trying commit efcccbb with merge 80daa8c

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 11, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 11, 2025

💔 Test failed

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

⌛ Trying commit 8290684 with merge 850f0cb

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 12, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

💔 Test failed

@rustbot
Copy link
Collaborator

rustbot commented Jun 12, 2025

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo, @GuillaumeGomez

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

⌛ Trying commit 1088bcc with merge d0644da

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 12, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer

This comment has been minimized.

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

💔 Test failed

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

All test failures seem to involve LTO. I suspect that the __rdl_* symbols were internalized by LTO and thus can't be used by the linker to resolve the weak aliases for __rust_*.

And the weak symbol problem was caused by /export not being in an object file?
@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

@bors2 try jobs=x86_64-msvc-1,x86_64-msvc-2

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

⌛ Trying commit 7e95646 with merge 3256d78

To cancel the try build, run the command @bors2 try cancel.

rust-bors bot added a commit that referenced this pull request Jun 12, 2025
[WIP] Use weak aliases for the allocator shim

try-job: x86_64-msvc-1
try-job: x86_64-msvc-2
@rust-log-analyzer
Copy link
Collaborator

The job mingw-check-1 failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[RUSTC-TIMING] gimli test:false 7.943
[RUSTC-TIMING] object test:false 10.678
error: linking with `i686-w64-mingw32-gcc` failed: exit status: 1
  |
  = note:  "i686-w64-mingw32-gcc" "-Wl,/tmp/rustc3T0qie/list.def" "-fno-use-linker-plugin" "-Wl,--dynamicbase" "-Wl,--disable-auto-image-base" "-Wl,--large-address-aware" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsbegin.o" "/tmp/rustc3T0qie/symbols.o" "<1 object files omitted>" "<sysroot>-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.0uqvvuyuwh4x6hzm6osq0arit.rcgu.rmeta" "<1 object files omitted>" "-Wl,-Bdynamic" "-lkernel32" "-lkernel32" "-Wl,-Bstatic" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/{libpanic_unwind-20869fc228d13ca3.rlib,libobject-ec98862b4886ac38.rlib,libmemchr-77ab3c7504c21df6.rlib,libaddr2line-d65772421f675fe6.rlib,libgimli-4e6a5603e604d579.rlib,libwindows_targets-d4e4106fab9543be.rlib,librustc_demangle-2d2b51b86e326b96.rlib,libstd_detect-e288757f09279594.rlib,libhashbrown-634801fe59bf3526.rlib,librustc_std_workspace_alloc-b983308fce937ae3.rlib,libminiz_oxide-bdbe307f583eddb0.rlib,libadler2-7f26a8f9c3076520.rlib,libunwind-518cc1bc33b768c9.rlib,libcfg_if-0d77301bd0e62110.rlib,liblibc-6b81ebba25c6a146.rlib,librustc_std_workspace_core-ddeef22dd5599fb6.rlib,liballoc-7aa6d81818b7d438.rlib,libcore-f257a8d6a35d1f7b.rlib,libcompiler_builtins-38d8db4a4d3bf502.rlib}.rlib" "-Wl,-Bdynamic" "-lntdll" "-luserenv" "-lws2_32" "-ldbghelp" "/tmp/rustc3T0qie/bcryptprimitives.dll_imports.lib" "/tmp/rustc3T0qie/api-ms-win-core-synch-l1-2-0.dll_imports.lib" "-lgcc_s" "-lmsvcrt" "-lmingwex" "-lmingw32" "-lgcc" "-lmsvcrt" "-lmingwex" "-luser32" "-lkernel32" "-Wl,--nxcompat" "-L" "<sysroot>-std/i686-pc-windows-gnu/release/build/compiler_builtins-4cc828bff9a01299/out" "-o" "<sysroot>-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.dll" "-shared" "-Wl,--out-implib=<sysroot>-std/i686-pc-windows-gnu/release/deps/libstd-78c1b4d6feecc9ff.dll.a" "-Wl,-O1" "-nodefaultlibs" "<sysroot>/lib/rustlib/i686-pc-windows-gnu/lib/rsend.o"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: Warning: corrupt .drectve at end of def file
          Warning: corrupt .drectve at end of def file
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCsbIluKKbkCdu_7___rustc12___rust_alloc: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCsbIluKKbkCdu_7___rustc14___rust_dealloc: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCsbIluKKbkCdu_7___rustc14___rust_realloc: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: cannot export _RNvCsbIluKKbkCdu_7___rustc19___rust_alloc_zeroed: symbol not defined
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x1af0): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x1bc0): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2071): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x21b4): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2202): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2362): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x23b5): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2501): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x25f4): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2682): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2852): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2a22): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2f7f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x306f): more undefined references to `__rustc::__rust_dealloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x22744): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x227f4): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x23e91): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x24277): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x24b07): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x25c55): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2608a): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x260a6): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x264e6): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x26964): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x26ab6): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x26ad4): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x2d05c): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x30e97): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x30f0f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x30f8d): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x3101b): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x310af): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x3112f): more undefined references to `__rustc::__rust_dealloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x3af44): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x3b2db): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x3be72): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x3fe63): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x43344): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x481c3): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x481f8): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x48811): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x48e2f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x4a9c9): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x4ae93): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x4aef5): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x4b14f): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x4d392): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x4f489): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x50489): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x531d3): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x53ad0): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x53c70): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x56a51): more undefined references to `__rustc::__rust_alloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x56f25): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x57b7d): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x58606): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x5aef7): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x5b075): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x5b21f): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x5dc56): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x5fec5): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x60272): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x60338): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x60397): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x604d9): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x604f8): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x64d3f): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x64d6e): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x65661): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x6570e): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x6bd36): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x704db): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x70593): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x72459): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x725c8): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x72739): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x73778): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x737f3): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x75174): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x76c05): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/std-78c1b4d6feecc9ff.std.97acd21f62924478-cgu.0.rcgu.o:std.97acd21f629244:(.text+0x771f5): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-20869fc228d13ca3.rlib(panic_unwind-20869fc228d13ca3.panic_unwind.b54803bb7327c705-cgu.0.rcgu.o):panic_unwind.b5480:(.text+0x35): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-20869fc228d13ca3.rlib(panic_unwind-20869fc228d13ca3.panic_unwind.b54803bb7327c705-cgu.0.rcgu.o):panic_unwind.b5480:(.text+0xcb): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-20869fc228d13ca3.rlib(panic_unwind-20869fc228d13ca3.panic_unwind.b54803bb7327c705-cgu.0.rcgu.o):panic_unwind.b5480:(.text+0x14f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-20869fc228d13ca3.rlib(panic_unwind-20869fc228d13ca3.panic_unwind.b54803bb7327c705-cgu.0.rcgu.o):panic_unwind.b5480:(.text+0x1c7): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-20869fc228d13ca3.rlib(panic_unwind-20869fc228d13ca3.panic_unwind.b54803bb7327c705-cgu.0.rcgu.o):panic_unwind.b5480:(.text+0x272): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libpanic_unwind-20869fc228d13ca3.rlib(panic_unwind-20869fc228d13ca3.panic_unwind.b54803bb7327c705-cgu.0.rcgu.o):panic_unwind.b5480:(.text+0x356): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libobject-ec98862b4886ac38.rlib(object-ec98862b4886ac38.object.c6238ed41c22def3-cgu.0.rcgu.o):object.c6238ed41c2:(.text+0x12a): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libobject-ec98862b4886ac38.rlib(object-ec98862b4886ac38.object.c6238ed41c22def3-cgu.0.rcgu.o):object.c6238ed41c2:(.text+0x146): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libobject-ec98862b4886ac38.rlib(object-ec98862b4886ac38.object.c6238ed41c22def3-cgu.0.rcgu.o):object.c6238ed41c2:(.text+0x256): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x22f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x29a): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x2066): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x20cc): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x214d): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x215d): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x2288): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x2554): undefined reference to `__rustc::__rust_alloc_zeroed'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/libgimli-4e6a5603e604d579.rlib(gimli-4e6a5603e604d579.gimli.c8ceb44a47e1005-cgu.0.rcgu.o):gimli.c8ceb44a47e1:(.text+0x2569): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x21f): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x2cb): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0xbfa): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0xc16): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0xde5): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x1094): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x12fa): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x1540): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x1647): more undefined references to `__rustc::__rust_alloc' follow
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x3be2): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x3cbe): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x3dc9): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x4241): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x494d): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x521b): undefined reference to `__rustc::__rust_alloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x53bb): undefined reference to `__rustc::__rust_dealloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x60fc): undefined reference to `__rustc::__rust_realloc'
          /usr/bin/i686-w64-mingw32-ld: /checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/i686-pc-windows-gnu/release/deps/liballoc-7aa6d81818b7d438.rlib(alloc-7aa6d81818b7d438.alloc.786d605348bede25-cgu.0.rcgu.o):alloc.786d605348be:(.text+0x615f): undefined reference to `__rustc::__rust_dealloc'
          collect2: 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#rustc-link-lib)

@rust-bors
Copy link

rust-bors bot commented Jun 12, 2025

💔 Test failed

@bjorn3
Copy link
Member Author

bjorn3 commented Jun 12, 2025

So close...

2025-06-12T17:49:37.7537114Z failures:
2025-06-12T17:49:37.7537340Z     [ui] tests\ui\linking\executable-no-mangle-strip.rs
2025-06-12T17:49:37.7537555Z 
2025-06-12T17:49:37.7537844Z test result: FAILED. 18922 passed; 1 failed; 280 ignored; 0 measured; 21 filtered out; finished in 1053.11s

The exit code is STATUS_DLL_NOT_FOUND, no idea why stripping breaks things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants