[Bug 20293] New: undefined reference to 'isinf' int global.c, jsutils.c number.c on Solaris 10
http://bugs.winehq.org/show_bug.cgi?id=20293 Summary: undefined reference to 'isinf' int global.c, jsutils.c number.c on Solaris 10 Product: Wine Version: 1.1.30 Platform: PC OS/Version: Solaris Status: UNCONFIRMED Severity: critical Priority: P2 Component: jscript AssignedTo: wine-bugs(a)winehq.org ReportedBy: daniel.vergien(a)googlemail.com In the Solaris 10 math.h isinf is only defined if either _STDC_C99 or _XOPEN_SOURCE - 0 >= 600 or __C99FEATURES__ is defined. What surprises, is that in config.h HAVE_ISINF is defined with 1. So the configure check seems to not work correctly. If I use CFLAGS=-D__C99FEATURES__ wine compiles fine. This behavior is also showing up on the trunk version. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 Daniel Vergien <daniel.vergien(a)googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 --- Comment #1 from Juan Lang <juan_lang(a)yahoo.com> 2009-10-08 13:36:00 --- Could you attach config.log? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 --- Comment #2 from Daniel Vergien <daniel.vergien(a)googlemail.com> 2009-10-09 01:18:18 --- Created an attachment (id=23988) --> (http://bugs.winehq.org/attachment.cgi?id=23988) config.log -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 --- Comment #3 from Daniel Vergien <daniel.vergien(a)googlemail.com> 2009-10-09 01:19:07 --- Here is also the error message: ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -shared ./jscript.spec activex.o array.o bool.o date.o dispex.o engine.o error.o function.o global.o jscript.o jscript_main.o jsutils.o lex.o math.o number.o object.o regexp.o string.o parser.tab.o jscript_De.res jscript_En.res jscript_Fr.res jscript_Lt.res jscript_Nl.res jscript_Pt.res jscript_Ru.res rsrc.res -o jscript.dll.so -loleaut32 -lole32 -luser32 -ladvapi32 -lkernel32 ../../libs/port/libwine_port.a -lsocket -lnsl global.o: In function `JSGlobal_isFinite': global.c:(.text+0x1070): undefined reference to `isinf' jsutils.o: In function `.L165': jsutils.c:(.text+0x916): undefined reference to `isinf' number.o: In function `Number_toString': number.c:(.text+0x643): undefined reference to `isinf' collect2: ld returned 1 exit status winegcc: i386-pc-solaris2.10-gcc failed make: *** [jscript.dll.so] Error 2 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 --- Comment #4 from Juan Lang <juan_lang(a)yahoo.com> 2009-10-09 20:23:02 --- I wonder whether winegcc is using gcc rather than i386-pc-solaris2.10-gcc. Unfortunately I don't have any easy way to find out. If you're able to use and understand a debugger, try the following steps to run the debugger and find out: $ cd tools/winegcc $ echo "int main(){return 0;}" > x.c $ gdb ./winegcc (gdb) b compile (gdb) run x.c Then step a couple times: (gdb) n 310 strarray* comp_args = strarray_alloc(); (gdb) 314 strarray_addall(comp_args, get_translator(opts)); And look at the value of comp_args: (gdb) p *comp_args->base Please report what it returns. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 --- Comment #5 from Daniel Vergien <daniel.vergien(a)googlemail.com> 2009-10-10 02:22:38 --- I've added a printf and it says i386-pc-solaris2.10-gcc. But my winegcc is patched to work with gnu ld on solaris as described in bug 18586. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 Yann Droneaud <yann(a)droneaud.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yann(a)droneaud.fr -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #6 from Austin English <austinenglish(a)gmail.com> 2011-10-01 16:46:30 CDT --- Is this still in 1.3.29? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 François Gouget <fgouget(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fgouget(a)codeweavers.com Resolution| |FIXED --- Comment #7 from François Gouget <fgouget(a)codeweavers.com> 2012-01-25 04:06:22 CST --- Wine 1.3.37 compiles fine on all my Solaris machines: 10u5, 10u9 and 11.2011. So I'd say that either this bug got fixed (likely a long time ago). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> 2012-01-27 14:18:05 CST --- Closing bugs fixed in 1.4-rc1. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=20293 Jerome Leclanche <adys.wh(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a774152f1ad87db577871026207 | |22384dcf9c329 CC| |adys.wh(a)gmail.com -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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