[Bug 52934] New: wine can't load ntdll.so on asahi linux (apple M1 hardware, linux kernel/userland)
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(a)winehq.org Reporter: dark.shadow4(a)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.
https://bugs.winehq.org/show_bug.cgi?id=52934 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |52715 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52934 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52934 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86-64 |aarch64 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52934 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Fabian Maurer <dark.shadow4(a)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 *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52934 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #2 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing duplicate. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52934 Bug 52934 depends on bug 52715, which changed state. Bug 52715 Summary: wine segfaults on asahi linux due to 16k pages (apple M1 hardware, linux kernel/userland) https://bugs.winehq.org/show_bug.cgi?id=52715 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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.
participants (1)
-
WineHQ Bugzilla