https://bugs.winehq.org/show_bug.cgi?id=54218
Bug ID: 54218 Summary: RTLD_SELF use breaks musl build since 8.0-rc1 Product: Wine Version: 8.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: alice@ayaya.dev Distribution: ---
the winecrt0 rework in bef09697227c29f53bb0ad95232399cbba5c9c6b makes use of dlinfo(RTLD_SELF, .. , which breaks the build on musl libc as it does not implement the RTLD_SELF handle.
example error:
/home/demon/src/aports/community/wine/src/wine-8.0-rc2/dlls/winecrt0/dll_soinit.c: In function '__wine_init_so_dll': /home/demon/src/aports/community/wine/src/wine-8.0-rc2/dlls/winecrt0/dll_soinit.c:95:17: error: 'RTLD_SELF' undeclared (first use in this function); did you mean 'RTLD_NEXT'? 95 | if (dlinfo( RTLD_SELF, RTLD_DI_LINKMAP, &map )) return; | ^~~~~~~~~ | RTLD_NEXT
https://bugs.winehq.org/show_bug.cgi?id=54218
Heiko Becker heirecka@exherbo.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |heirecka@exherbo.org
https://bugs.winehq.org/show_bug.cgi?id=54218
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |e25d83dc903412bf70a82ed419e | |8c9e470addff2 Resolution|--- |FIXED
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Hopefully fixed by e25d83dc903412bf70a82ed419e8c9e470addff2.
https://bugs.winehq.org/show_bug.cgi?id=54218
--- Comment #2 from alice@ayaya.dev --- confirmed, builds correctly, and works for a game mod launcher :)
https://bugs.winehq.org/show_bug.cgi?id=54218
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.0-rc4.