[Bug 41220] New: Provide fallback implementation of strnlen for OS versions that don' t have it in their Libc (Leopard, Snow Leopard, et al)
https://bugs.winehq.org/show_bug.cgi?id=41220 Bug ID: 41220 Summary: Provide fallback implementation of strnlen for OS versions that don't have it in their Libc (Leopard, Snow Leopard, et al) Product: Wine Version: 1.9.17 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: minor Priority: P2 Component: directx-d3d Assignee: wine-bugs(a)winehq.org Reporter: jeremyhu(a)freedesktop.org wine-1.9.17 is failing to build on Leopard and Snow Leopard due to strnlen not being available on those OS versions, where d3d10.dll.so and d3d11.dll.so fail to link with: Undefined symbols for architecture i386: "_strnlen", referenced from: _fx10_get_string in effect.o Undefined symbols for architecture i386: "_strnlen", referenced from: _shader_parse_signature in shader.o A fallback implementation of strnlen should be provided for such cases. -- 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=41220 Ryan Schmidt <wine-2016(a)ryandesign.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-2016(a)ryandesign.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=41220 --- Comment #1 from Ryan Schmidt <wine-2016(a)ryandesign.com> --- Issue remains in 2.0. -- 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=41220 Ricardo Urbina <ricardo.urbina(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ricardo.urbina(a)gmail.com --- Comment #2 from Ricardo Urbina <ricardo.urbina(a)gmail.com> --- Created attachment 57134 --> https://bugs.winehq.org/attachment.cgi?id=57134 This patch worked for me on Snow Leopard I patched this to my src dir and it worked fine, but it needs some preprocessor magic to enable it only for Mac OS X < 10.7. -- 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=41220 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm(a)gmail.com --- Comment #3 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- This should now be fixed by: https://source.winehq.org/git/wine.git/commit/9d36aad4571b288f5208d35425e172... -- 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=41220 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |9d36aad4571b288f5208d35425e | |1720c6f145376 Status|UNCONFIRMED |RESOLVED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- 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.
https://bugs.winehq.org/show_bug.cgi?id=41220 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 3.0-rc3. -- 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=41220 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- 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=41220 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #6 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.5. -- 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)
-
wine-bugs@winehq.org