[Bug 40665] New: 'INFINITY' undeclared (In function ' test_effect_preshader_ops')
https://bugs.winehq.org/show_bug.cgi?id=40665 Bug ID: 40665 Summary: 'INFINITY' undeclared (In function 'test_effect_preshader_ops') Product: Wine Version: 1.9.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 Assignee: wine-bugs(a)winehq.org Reporter: version2013(a)openmailbox.org Distribution: --- Attempting to compile 1.9.10 in Puppy Linux 4.3.1 Some dependencies installed. effect.c: In function 'test_effect_preshader_ops': effect.c:3977: error: 'INFINITY' undeclared (first use in this function) -- 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=40665 --- Comment #1 from Nathan <version2013(a)openmailbox.org> --- Created attachment 54534 --> https://bugs.winehq.org/attachment.cgi?id=54534 config.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.
https://bugs.winehq.org/show_bug.cgi?id=40665 --- Comment #2 from Nathan <version2013(a)openmailbox.org> --- Created attachment 54535 --> https://bugs.winehq.org/attachment.cgi?id=54535 make 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.
https://bugs.winehq.org/show_bug.cgi?id=40665 --- Comment #3 from Nathan <version2013(a)openmailbox.org> --- Did not notice config.log was as large as it is until after upload. If function existed to delete log and upload a smaller version, I would. -- 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=40665 --- Comment #4 from Nathan <version2013(a)openmailbox.org> --- Issue still appears when trying to compile wine 1.9.11. Some dependencies installed. My system: Puppy Linux 4.3.1 command: uname -r 2.6.30.5 command: ldd --version ldd (GNU libc) 2.6.1 --- terminal snip --- effect.c: In function 'test_effect_preshader_ops': effect.c:4163: error: 'INFINITY' undeclared (first use in this function) effect.c:4163: error: (Each undeclared identifier is reported only once effect.c:4163: error: for each function it appears in.) make[1]: *** [effect.o] Error 1 make[1]: Leaving directory `/opt/wine-1.9.11/dlls/d3dx9_36/tests' make: *** [dlls/d3dx9_36/tests] Error 2 -- 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=40665 --- Comment #5 from Henri Verbeet <hverbeet(a)gmail.com> --- Created attachment 54630 --> https://bugs.winehq.org/attachment.cgi?id=54630 patch I'm not entirely convinced your toolchain isn't broken in some way, but does the attached patch help? -- 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=40665 --- Comment #6 from Nathan <version2013(a)openmailbox.org> --- (In reply to Henri Verbeet from comment #5) After applying patch, I get this when attempting to compile wine 1.9.11. --- terminal snip --- gcc -c -o effect.o effect.c -I. -I../../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe \ -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings \ -Wpointer-arith -fno-omit-frame-pointer -O2 effect.c: In function 'test_effect_preshader_ops': effect.c:4172: error: initializer element is not constant effect.c:4172: error: (near initialization for 'op_tests[1].fvect2.x') effect.c:4172: error: initializer element is not constant effect.c:4172: error: (near initialization for 'op_tests[1].fvect2.y') make[1]: *** [effect.o] Error 1 make[1]: Leaving directory `/opt/wine-1.9.11/dlls/d3dx9_36/tests' make: *** [dlls/d3dx9_36/tests] Error 2 -- 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=40665 --- Comment #7 from Henri Verbeet <hverbeet(a)gmail.com> --- Right, it's being used as a constant, so the usual approach doesn't work here. -- 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=40665 --- Comment #8 from Nathan <version2013(a)openmailbox.org> --- Issue still appears when trying to compile wine 1.9.12. My system details same as comment 4. Wine build completes, as one expects, when "--disable-tests" is added to configure command. Without --disable-tests, compile stops with: --- terminal snip --- effect.c: In function 'test_effect_preshader_ops': effect.c:4189: error: 'INFINITY' undeclared (first use in this function) effect.c:4189: error: (Each undeclared identifier is reported only once effect.c:4189: error: for each function it appears in.) make[1]: *** [effect.o] Error 1 make[1]: Leaving directory `/opt/wine-1.9.12/dlls/d3dx9_36/tests' make: *** [dlls/d3dx9_36/tests] Error 2 -- 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=40665 --- Comment #9 from Nathan <version2013(a)openmailbox.org> --- Wine 1.8.3 compiles to completion. Wine 1.9.13 does not finish compiling. Receive same error as comment 8. -- 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=40665 --- Comment #10 from Nathan <version2013(a)openmailbox.org> --- Without using --disable-tests in configure line, Wine 1.9.14 does not finish compiling. Same error as in comment 8. -- 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=40665 --- Comment #11 from Józef Kucia <joseph.kucia(a)gmail.com> --- Created attachment 55162 --> https://bugs.winehq.org/attachment.cgi?id=55162 Patch Does this patch help? -- 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=40665 --- Comment #12 from Nathan <version2013(a)openmailbox.org> --- (In reply to Józef Kucia from comment #11) Yes, indeed it does. Wine 1.9.15, without using "--disable-tests" in configure line, compiling results in the usual 'wine build complete'. Thank you. -- 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=40665 Józef Kucia <joseph.kucia(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia(a)gmail.com Fixed by SHA1| |61de92735593eb79df8145c31ba | |84b6127ab1f49 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #13 from Józef Kucia <joseph.kucia(a)gmail.com> --- Fixed by commit 61de92735593eb79df8145c31ba84b6127ab1f49 http://source.winehq.org/git/wine.git/?a=commit;h=61de92735593eb79df8145c31b... -- 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=40665 --- Comment #14 from Nathan <version2013(a)openmailbox.org> --- Wine 1.9.16, no patches, and without using "--disable-tests" in configure line, compiling results in the usual 'wine build complete'. -- 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=40665 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.17. -- 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