https://bugs.winehq.org/show_bug.cgi?id=43000
Bug ID: 43000 Summary: wine can't be compiled by gcc-2.95.4 (dsound/dsound_convert.c, C99 ~ lrintf) Product: Wine Version: 2.7 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: directx-dsound Assignee: wine-bugs@winehq.org Reporter: wylda@volny.cz Distribution: ---
wine-2.7 @ gcc-2.95.4: compilation fails:
/dlls/dsound/dsound_convert.c: In function `f_to_8': /dlls/dsound/dsound_convert.c:123: warning: implicit declaration of function `lrintf' /dlls/dsound/dsound_convert.c: At top level: /dlls/dsound/dsound_convert.c:342: Internal compiler error: /dlls/dsound/dsound_convert.c:342: Internal compiler error in `output_die', at dwarf2out.c:5433
https://bugs.winehq.org/show_bug.cgi?id=43000
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #1 from Wylda wylda@volny.cz --- BTW i did not test commenting lrintf out, to be sure.
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- While it's probably still worth fixing this problem, this particular issue shouldn't block you from testing just running 'wine winecfg' under older kernels.
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #3 from Wylda wylda@volny.cz --- OK. Just delete dsound folder or is there better way to compile wine?
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- Does touch dsound.dll.so touch dsound.dll.fake help?
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #5 from Wylda wylda@volny.cz ---
Does ... help?
No, it doesn't. I had to modify all following 4 lines to make it pass.
static inline unsigned char f_to_8(float value) - return lrintf((value + 1.f) * 0x80); + return 1;
static inline SHORT f_to_16(float value) - return le16(lrintf(value * 0x8000)); + return 1;
static LONG f_to_24(float value) - return lrintf(value * 0x80000000U); + return 1;
static inline LONG f_to_32(float value) - return le32(lrintf(value * 0x80000000U)); + return 1;
Do you have any other trick to skip building some DLL?
https://bugs.winehq.org/show_bug.cgi?id=43000
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #6 from Gijs Vermeulen gijsvrm@gmail.com --- Should be fixed by: https://source.winehq.org/git/wine.git/commit/06d9c7e25e4ff71731c81f172269c8...
https://bugs.winehq.org/show_bug.cgi?id=43000
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43000
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Regression SHA1| |06d9c7e25e4ff71731c81f17226 | |9c8cd81b0c68a
--- Comment #7 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Marking as fixed
https://bugs.winehq.org/show_bug.cgi?id=43000
--- Comment #8 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Alistair Leslie-Hughes from comment #7)
Marking as fixed
You added the SHA1 to the wrong field.
https://bugs.winehq.org/show_bug.cgi?id=43000
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com Regression SHA1|06d9c7e25e4ff71731c81f17226 | |9c8cd81b0c68a | Fixed by SHA1| |06d9c7e25e4ff71731c81f17226 | |9c8cd81b0c68a
https://bugs.winehq.org/show_bug.cgi?id=43000
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=43000
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=43000
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.5.