[Python-checkins] r43535 - in python/branches/release24-maint: Misc/NEWS configure configure.in

neal.norwitz python-checkins at python.org
Sat Apr 1 10:50:37 CEST 2006


Author: neal.norwitz
Date: Sat Apr  1 10:50:35 2006
New Revision: 43535

Modified:
   python/branches/release24-maint/Misc/NEWS
   python/branches/release24-maint/configure
   python/branches/release24-maint/configure.in
Log:
Backport 43470:
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_long.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).



Modified: python/branches/release24-maint/Misc/NEWS
==============================================================================
--- python/branches/release24-maint/Misc/NEWS	(original)
+++ python/branches/release24-maint/Misc/NEWS	Sat Apr  1 10:50:35 2006
@@ -9,6 +9,12 @@
 
 *Release date: DD-MMM-2006*
 
+Core and builtins
+-----------------
+
+Extension Modules
+-----------------
+
 Library
 -------
 
@@ -17,6 +23,14 @@
   raise an exception some day.  But dicts have been allowed, and "mostly
   worked", so support for them won't go away without warning.
 
+Tools/Demos
+-----------
+
+Build
+-----
+
+- Fix test_long failure on Tru64 with gcc by using -mieee gcc option.
+
 
 What's New in Python 2.4.3?
 ===========================

Modified: python/branches/release24-maint/configure
==============================================================================
--- python/branches/release24-maint/configure	(original)
+++ python/branches/release24-maint/configure	Sat Apr  1 10:50:35 2006
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 41985 .
+# From configure.in Revision: 43158 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.4.
 #
@@ -3839,6 +3839,9 @@
 	Darwin*)
 	    BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
 	    ;;
+	OSF*)
+	    BASECFLAGS="$BASECFLAGS -mieee"
+	    ;;
     esac
     ;;
 

Modified: python/branches/release24-maint/configure.in
==============================================================================
--- python/branches/release24-maint/configure.in	(original)
+++ python/branches/release24-maint/configure.in	Sat Apr  1 10:50:35 2006
@@ -737,6 +737,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