[Bug 52934] New: wine can't load ntdll.so on asahi linux (apple M1 hardware, linux kernel/userland)
WineHQ Bugzilla
wine-bugs at winehq.org
Fri Apr 29 13:15:26 CDT 2022
https://bugs.winehq.org/show_bug.cgi?id=52934
Bug ID: 52934
Summary: wine can't load ntdll.so on asahi linux (apple M1
hardware, linux kernel/userland)
Product: Wine
Version: 7.7
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs at winehq.org
Reporter: dark.shadow4 at web.de
Distribution: ---
Created attachment 72306
--> https://bugs.winehq.org/attachment.cgi?id=72306
ntdll.dll that can't be loaded
Follow-up to bug 52715.
After setting the page size to 16k, you can try to run "wine winecfg", for
example.
This results in an error:
> wine: failed to load /home/fabian/Programming/Wine/wine/dlls/ntdll/ntdll.dll error c000007b
Error is at the following code:
> for (i = 0; i < nt->FileHeader.NumberOfSections; i++)
> {
> if (sec[i].VirtualAddress != sec[i].PointerToRawData)
> return status; /* Windows refuses to load in that case too */
> }
Adding debug code:
> printf("Section %i: VirtualAddress: %p\n, PointerToRawData: %p\n", sec[i].VirtualAddress, sec[i].PointerToRawData);
yields
> Section 4: VirtualAddress: 0x81000, PointerToRawData: 0x7d000
Using llvm-mingw from here:
https://github.com/mstorsjo/llvm-mingw/releases/tag/20220323
Not sure if the dll itself is broken...? Attaching the dll for completeness
sake.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list