[issue3167] math test fails on Solaris 10
Mark Dickinson
report at bugs.python.org
Tue Jul 8 23:05:32 CEST 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
I'm pretty much out of ideas here. Skip, if you have any time to figure
out where the math.log call is going wrong, I'd appreciate it. On Jean's
machine, the problem was that the call log(-inf) to the C library's log
function was returning -inf instead of the expected nan.
The actual function call takes place in math_1, in the line
"r = (*func)(x)" (line 178 of Modules/mathmodule.c in the current trunk,
r64812). A couple of printf calls would show the inputs and outputs to
that function.
Is /usr/bin/ccs/ld Sun's own linker? If so, why doesn't it accept the -
xlibmieee option? (Or maybe it does, in which case the question is why
isn't gcc passing that option to ld properly.)
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3167>
_______________________________________
More information about the Python-bugs-list
mailing list