http://bugs.winehq.org/show_bug.cgi?id=20116
Summary: wine links with -lm, which isn't always available Product: Wine Version: 1.1.29 Platform: PC URL: http://www.haiku-os.org/ OS/Version: other Status: NEW Keywords: download, source Severity: enhancement Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Got bored this weekend and tried out haiku/building Wine on haiku (which obviously won't fully work, for a while). It does help find weird bugs. In this case, wine's calling 'ld -lm', which, for at least Haiku, and possibly/probably others, isn't supported:
"There is no libm in Haiku. The math functions are present in libroot. If you're trying to port, adapt the build system to account for that for the Haiku platform."
http://dev.haiku-os.org/ticket/4606
http://bugs.winehq.org/show_bug.cgi?id=20116
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2009-09-22 12:31:32 --- I'd strongly suggest to the Haiku people to add a libm compatibility library, that's very standard stuff.
http://bugs.winehq.org/show_bug.cgi?id=20116
--- Comment #2 from Austin English austinenglish@gmail.com 2009-09-22 13:48:51 --- (In reply to comment #1)
I'd strongly suggest to the Haiku people to add a libm compatibility library, that's very standard stuff.
changed 26 minutes ago by austin987 ¶
libm is _really_ prevalent and standard...Have you considered providing a compatibility library, instead of requiring all projects to adjust their build >> systems for haiku?
Changed 79 seconds ago by pulkomandy ¶ Yes. And we won't. There is support for detecting if it's needed in all the project managers out there (autotools, scons, ...). Use it. Just remove the libm switch, note we are not incompatible with it at the source level. Only it's not needed to link to that explicitly.
http://bugs.winehq.org/show_bug.cgi?id=20116
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2009-09-22 14:08:52 --- We can't use autoconf macros in winegcc, and I'm not going to add #ifdefs for every obscure platform that can't make a minimal effort to be compatible with mainstream.
http://bugs.winehq.org/show_bug.cgi?id=20116
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2009-09-22 20:16:11 --- Closing.