commit | 430e0d329fd61810f0b5c2dc0a57ca3b1e4f7026 | [log] [tgz] |
---|---|---|
author | Chris Wailes <chriswailes@google.com> | Fri May 24 15:27:22 2024 -0700 |
committer | Chris Wailes <chriswailes@google.com> | Fri May 24 15:31:20 2024 -0700 |
tree | feee9b209f8c41d12979667bc5ccc483471a21dc | |
parent | 7b49b7fc39f3aa9ee0b8775e41f68a0c0adcc15b [diff] |
Apply patch to handle missing symbols from Kernel32.dll This CL is the application of the upstream CL listed below. It adjusts the symbols lists for Kernel32.dll to handle the removeal of several symbols that Microsoft claims are present but aren't. This is needed to fix a build breakage for the Windows Rust 1.78.0 toochain. * https://github.com/mirror/mingw-w64/commit/68d0e7d551d2e2a5b8a15bdca3f8d15fc097ed01 * https://github.com/rust-lang/rust/issues/123999 Test: ./build.sh Bug: 333887339 Change-Id: I850b89fc20faffee9ff37ade5ab460931daf3a79
diff --git a/mingw-w64-v6.x/mingw-w64-crt/lib-common/kernel32.def.in b/mingw-w64-v6.x/mingw-w64-crt/lib-common/kernel32.def.in index 3a55629..321cd49 100644 --- a/mingw-w64-v6.x/mingw-w64-crt/lib-common/kernel32.def.in +++ b/mingw-w64-v6.x/mingw-w64-crt/lib-common/kernel32.def.in
@@ -1517,10 +1517,14 @@ WaitForThreadpoolWorkCallbacks WaitNamedPipeA WaitNamedPipeW -WaitOnAddress WakeAllConditionVariable -WakeByAddressSingle -WakeByAddressAll +; MSDN says it's in Kernel32.dll but it's not. +; Link with libsynchronization.a instead. +; Commented out for compatibility with older +; versions of Windows. +;WaitOnAddress +;WakeByAddressSingle +;WakeByAddressAll WakeConditionVariable WerGetFlags WerRegisterFile