[issue9069] test_float failure on Solaris

David Kirkby report at bugs.python.org
Thu Jun 24 20:47:48 CEST 2010


David Kirkby <david.kirkby at onetel.net> added the comment:

Hi Mark, 

Here's the info on the two systems - first the SPARC system, secondly the Intel Xeon system.

1) SPARC

 * Sun Blade 2000, with 2 x UltraSPARC III+ 1200 MHZ processors
 * 8 GB RAM 
 * Solaris 10 update 8 10/09 release (This is the latest release of Solaris 10).

drkirkby at swan:~$ cat /etc/release
                      Solaris 10 10/09 s10s_u8wos_08a SPARC
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009
drkirkby at swan:~$ uname -a
SunOS swan 5.10 Generic_141444-09 sun4u sparc SUNW,Sun-Blade-1000

Python 2.6.4 (r264:75706, Jun 24 2010, 10:39:29) 
[GCC 4.4.4] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> float.hex(-0.0)
'0x0.0p+0'
>>> float.fromhex('-0x0.0p+0')
-0.0

When configure runs, I see:
"checking for copysign... yes"

In pyconfig.h I have:

/* Define to 1 if you have the `copysign' function. */
#define HAVE_COPYSIGN 1

======================================================
======================================================

2) Intel Xeon system. 

* Sun Ultra 27, quad core 3.33 GHz Intel Xeon processor
* 12 GB RAM
* OpenSolaris 06/2009, updated to build 134
* 64-bit installation. 
* Note, this is the native operating system on this machine, so VirtualBox is not used.  

drkirkby at hawk:~$ cat /etc/release
                       OpenSolaris Development snv_134 X86
           Copyright 2010 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 01 March 2010
drkirkby at hawk:~$ uname -a
SunOS hawk 5.11 snv_134 i86pc i386 i86pc

Python 2.6.4 (r264:75706, Jun 24 2010, 17:38:56) 
[GCC 4.4.4] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> float.hex(-0.0)
'0x0.0p+0'
>>> float.fromhex('-0x0.0p+0')
-0.0
>>> 

When configure runs, I see:

"checking for copysign... yes"

In pyconfig.h I have:
/* Define to 1 if you have the `copysign' function. */
#define HAVE_COPYSIGN 1


If you feel access to the SPARC system could help you debug this (or any of the other test failures I get), I can get you access to a machine 16-core Sun T5240 which was donated by Sun. 

I can't provide such easy access to the Xeon system, though you can install OpenSolaris as a Virtual machine in VirtualBox quite easily - its a free download. 

Dave

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9069>
_______________________________________


More information about the Python-bugs-list mailing list