[Python-checkins] r43470 - python/trunk/configure python/trunk/configure.in

neal.norwitz python-checkins at python.org
Fri Mar 31 08:54:46 CEST 2006


Author: neal.norwitz
Date: Fri Mar 31 08:54:45 2006
New Revision: 43470

Modified:
   python/trunk/configure
   python/trunk/configure.in
Log:
Get gcc to do strict IEEE math.  This flag was already used for cc, just not
gcc.  Without this flag, doing pretty much anything with NaNs causes
a Floating Point Exception signal.  This causes the interpreter to quit.
The failing tests this fixes are:  test_float, test_long, and test_struct.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).

Will verify if this is a problem in 2.4 and backport if necessary (probably).


Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure	(original)
+++ python/trunk/configure	Fri Mar 31 08:54:45 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 42563 .
+# From configure.in Revision: 43158 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.5.
 #
@@ -3882,6 +3882,9 @@
 	Darwin*)
 	    BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
 	    ;;
+	OSF*)
+	    BASECFLAGS="$BASECFLAGS -mieee"
+	    ;;
     esac
     ;;
 

Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Fri Mar 31 08:54:45 2006
@@ -746,6 +746,9 @@
 	Darwin*)
 	    BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
 	    ;;
+	OSF*)
+	    BASECFLAGS="$BASECFLAGS -mieee"
+	    ;;
     esac
     ;;
 


More information about the Python-checkins mailing list