VLM functions were introduced for DEC Alpha version of Windows 2000 and during Windows 2000 development versions stub implementations were available also in 32-bit x86 kernel32.dll library. These stubs symbols were removed in Windows 2000 RC3 version and hence no 32-bit x86 production release of Windows 2000 had VLM functions in kernel32.dll library.
So remove VLM symbols from 32-bit x86 kernel32.def file. More information about about VLM support is on Raymond Chen blog: Footnotes in Win32 history: VLM (Very Large Memory) support https://devblogs.microsoft.com/oldnewthing/20070801-00/?p=25763 --- mingw-w64-crt/lib32/kernel32.def | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/mingw-w64-crt/lib32/kernel32.def b/mingw-w64-crt/lib32/kernel32.def index f0d3e27520ce..74434173d939 100644 --- a/mingw-w64-crt/lib32/kernel32.def +++ b/mingw-w64-crt/lib32/kernel32.def @@ -2226,15 +2226,3 @@ GetFileInformationByName@16 ; LogUnexpectedCodepath@4 ReleasePseudoConsole@4 TlsGetValue2@4 - -; FIXME these symbols are not available in any 32-bit x86 version of kernel32.dll -GlobalMemoryStatusVlm@4 -MapViewOfFileVlm@28 -ReadFileVlm@20 -UnmapViewOfFileVlm@4 -VirtualAllocVlm@24 -VirtualFreeVlm@20 -VirtualProtectVlm@24 -VirtualQueryVlm@16 -WriteFileVlm@20 -WriteProcessMemoryVlm@20 -- 2.20.1 _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
