http://bugs.winehq.org/show_bug.cgi?id=58605
Bug ID: 58605 Summary: 10.13 - Compile Error Product: Wine Version: 10.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jonfarr87@gmail.com Distribution: ---
Created attachment 79140 --> http://bugs.winehq.org/attachment.cgi?id=79140 Config Log
As of the 10.13 release I'm getting the below error. Tried both Vanilla and Staging, same issue.
Can confirm the issue is not present with 10.12
i686-w64-mingw32-gcc -c -o dlls/ucrtbase/tests/i386-windows/printf.o dlls/ucrtbase/tests/printf.c -Idlls/ucrtbase/tests -Iinclude -Iinclude/msvcrt \ -D_UCRT -D__WINESRC__ -D__WINE_PE_BUILD -Wall -fno-strict-aliasing -Wdeclaration-after-statement \ -Wempty-body -Wignored-qualifiers -Winit-self -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -ffunction-sections \ -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -gdwarf-4 -fno-builtin -g -O2 dlls/ucrtbase/tests/misc.c: In function ‘test_carg’: dlls/ucrtbase/tests/misc.c:2017:34: error: initializer element is not constant { -INFINITY, INFINITY, M_PI_3_4 }, ^~~~~~~~ dlls/ucrtbase/tests/misc.c:2017:34: note: (near initialization for ‘tests[8].expect’) dlls/ucrtbase/tests/misc.c: In function ‘test_cargf’: dlls/ucrtbase/tests/misc.c:2073:34: error: initializer element is not constant { -INFINITY, INFINITY, M_PI_3_4 }, ^~~~~~~~ dlls/ucrtbase/tests/misc.c:2073:34: note: (near initialization for ‘tests[8].expect’) make: *** [Makefile:191364: dlls/ucrtbase/tests/i386-windows/misc.o] Error 1 make: *** Waiting for unfinished jobs....
http://bugs.winehq.org/show_bug.cgi?id=58605
--- Comment #1 from Ganni87 jonfarr87@gmail.com --- Created attachment 79141 --> http://bugs.winehq.org/attachment.cgi?id=79141 Terminal Log
http://bugs.winehq.org/show_bug.cgi?id=58605
--- Comment #2 from Ken Sharp imwellcushtymelike@gmail.com --- It works fine here. Which distro are you using?
You can bypass the tests by adding --disable-tests to configure.
http://bugs.winehq.org/show_bug.cgi?id=58605
Ganni87 jonfarr87@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ucrtbase
--- Comment #3 from Ganni87 jonfarr87@gmail.com ---
Compiling with the --disable-tests produces a working build.
Most likely the issue is due to my old mingw setup. Unfortunately I'm not in a position to upgrade at the moment.
If the solution is a trivial one I'd appreciate a proper fix.
Thank you for the workaround :)
http://bugs.winehq.org/show_bug.cgi?id=58605
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #4 from Austin English austinenglish@gmail.com --- (In reply to Ganni87 from comment #3)
Most likely the issue is due to my old mingw setup. Unfortunately I'm not in a position to upgrade at the moment.
What version of mingw do you have?
http://bugs.winehq.org/show_bug.cgi?id=58605
--- Comment #5 from Ganni87 jonfarr87@gmail.com --- (In reply to Austin English from comment #4)
(In reply to Ganni87 from comment #3)
Most likely the issue is due to my old mingw setup. Unfortunately I'm not in a position to upgrade at the moment.
What version of mingw do you have?
5.0.1 (quite old I'm aware)