[Bug 58605] New: 10.13 - Compile Error
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(a)winehq.org Reporter: jonfarr87(a)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.... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #1 from Ganni87 <jonfarr87(a)gmail.com> --- Created attachment 79141 --> http://bugs.winehq.org/attachment.cgi?id=79141 Terminal Log -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #2 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- It works fine here. Which distro are you using? You can bypass the tests by adding --disable-tests to configure. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 Ganni87 <jonfarr87(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |ucrtbase --- Comment #3 from Ganni87 <jonfarr87(a)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 :) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor --- Comment #4 from Austin English <austinenglish(a)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? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #5 from Ganni87 <jonfarr87(a)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) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #6 from Ganni87 <jonfarr87(a)gmail.com> --- Re-tested with the 10.14 release (staging and non staging) issue is still present. As with 10.13 - Compiling with --disable-tests works fine. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #7 from Ganni87 <jonfarr87(a)gmail.com> --- Re-tested with the 10.15 release, issue is still present as well. As with 10.13 - Compiling with --disable-tests works fine. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #8 from Zeb Figura <z.figura12(a)gmail.com> --- Created attachment 79345 --> http://bugs.winehq.org/attachment.cgi?id=79345 patch Sorry for the delay. Does this fix it? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #9 from Ganni87 <jonfarr87(a)gmail.com> --- (In reply to Zeb Figura from comment #8)
Created attachment 79345 [details] patch
Sorry for the delay. Does this fix it?
Hi, I thank you for the patch, seems like it solved the issue however it has thrown additional errors down the line. Attached log / screenshot. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #10 from Ganni87 <jonfarr87(a)gmail.com> --- Created attachment 79349 --> http://bugs.winehq.org/attachment.cgi?id=79349 terminal log -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #11 from Ganni87 <jonfarr87(a)gmail.com> --- Created attachment 79350 --> http://bugs.winehq.org/attachment.cgi?id=79350 terminal screenshot -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 Ganni87 <jonfarr87(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #79350|terminal screenshot |-- ignore -- description| | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 --- Comment #12 from Ganni87 <jonfarr87(a)gmail.com> --- Created attachment 79351 --> http://bugs.winehq.org/attachment.cgi?id=79351 terminal screenshot -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58605 Ganni87 <jonfarr87(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG --- Comment #13 from Ganni87 <jonfarr87(a)gmail.com> --- I have finally managed to compile a modern minGW on my system which in turn solved this issue for Wine 10.13, .14 and .15 Marking as Resolved - NotOurBug as this was clearly an issue with my build environment. -- 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)
-
WineHQ Bugzilla