Mark Dickinson dicki...@gmail.com added the comment:
And I see that test_float is passing again. Thanks, Matthias!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9215
___
Matthias Klose d...@debian.org added the comment:
what version of gcc is being used by this buildslave
you already found out, but it's mentioned at the top of the test stdio. I'll
update the compiler and recheck.
--
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
On Sat, Jul 10, 2010 at 8:26 AM, Matthias Klose rep...@bugs.python.org wrote:
you already found out, but it's mentioned at the top of the test stdio.
Ah yes, so it is. Thank you. I thought I remembered seeing it
somewhere in the buildbot
Mark Dickinson dicki...@gmail.com added the comment:
I managed to reproduce this with Ubuntu 10.10 and the gcc-snapshot package.
I've shrunk it to the following (no floating-point in sight!):
/* file dtoa.c */
static char s0[12];
char *_Py_dg_dtoa()
{
char *s = s0;
*s++ = '9';
*s++ =
Matthias Klose d...@debian.org added the comment:
I updated the compiler on the buildbot to trunk 20100709, and your reduced
testcase is fixed. will update the gcc-snapshot package in maverick later.
--
resolution: - fixed
status: open - closed
New submission from Mark Dickinson dicki...@gmail.com:
The Ubuntu i386 buildbot was crashing in test_float in the 3.1 branch; it
looks as though _Py_dg_dtoa is producing invalid results.
I've made a couple of checkins to try to diagnose the failure (r82752 and
r82754); here's some of the
Mark Dickinson dicki...@gmail.com added the comment:
The py3k branch on the same machine seems fine, as does the release27-maint
branch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9215
Mark Dickinson dicki...@gmail.com added the comment:
I've just noticed that the 3.1 buildbot is compiling with -O2, while the 2.7
and 3.2 bots are using -O0; this would explain the different results.
The possibility that this might be a compiler optimization bug makes me a
little happier.
Mark Dickinson dicki...@gmail.com added the comment:
Reverted the temporary debugging commits in r82755, so test_float is now
crashing again on that buildbot.
I've made yet another temporary commit (r82756) to get the configure script to
tell me what gcc version is being used on that machine.