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@winehq.org Reporter: dark.shadow4@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.
https://bugs.winehq.org/show_bug.cgi?id=52934
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |52715
https://bugs.winehq.org/show_bug.cgi?id=52934
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=52934
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |aarch64
https://bugs.winehq.org/show_bug.cgi?id=52934
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- I'll fold that back into bug 52715, it's the same page size issue.
*** This bug has been marked as a duplicate of bug 52715 ***
https://bugs.winehq.org/show_bug.cgi?id=52934
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing duplicate.