https://bugs.winehq.org/show_bug.cgi?id=56458
Bug ID: 56458 Summary: ntdll tests skipped on win7 & win8: missing entry point kernel32.RtlPcToFileHeader Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: jinoh.kang.kr@gmail.com CC: fgouget@codeweavers.com, gijsvrm@gmail.com, julliard@winehq.org Regression SHA1: 38fb2f41ad1347b6e35dc87f6dc358a13d8905cb Distribution: ---
ntdll_test.exe imports kernel32.RtlPcToFileHeader, which does not exist on Windows 7 and 8.
The culprit is the direct import, which resolves to kernel32's forwarder. It should use pRtlPcToFileHeader variable (which stores GetProcAddress result) instead.
This causes all ntdll tests to be skipped on win7 & win8 VMs:
info.c:0: Tests skipped: missing entry point (details below) | ntdll_test.exe - Entry Point Not Found | The procedure entry point RtlPcToFileHeader could not be located in the dynamic link library C:\Users\winetest\Documents\ntdll_test.exe. 0adc:info: 0 tests executed (0 marked as todo, 0 as flaky, 0 failures), 1 skipped. ntdll:info:0adc done (0) in 0s
https://test.winehq.org/data/4860fbe7b5355bfa4a5e98bb2446f69d1c484666/win81_... https://test.winehq.org/data/4860fbe7b5355bfa4a5e98bb2446f69d1c484666/win7_n...
Originally reported by Gijs Vermeulen.