summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-01 08:50:35 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-01 08:50:35 +0000
commitd0dc17031086087358c496418e47a8177e27f26a (patch)
tree6b4f5fb2ea7abd866f0a53bba9bc6a6d523f110d
parent9be60ec51ec09937ec7ec7931e2f3844bec114a9 (diff)
downloadcpython-git-d0dc17031086087358c496418e47a8177e27f26a.tar.gz
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).
-rw-r--r--Misc/NEWS14
-rwxr-xr-xconfigure5
-rw-r--r--configure.in3
3 files changed, 21 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9de19d9834..add8f7ba5c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -9,6 +9,12 @@ What's New in Python 2.4.4c1?
*Release date: DD-MMM-2006*
+Core and builtins
+-----------------
+
+Extension Modules
+-----------------
+
Library
-------
@@ -17,6 +23,14 @@ Library
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?
===========================
diff --git a/configure b/configure
index a00c15424c..53c6feda61 100755
--- a/configure
+++ b/configure
@@ -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 @@ echo "${ECHO_T}$ac_cv_no_strict_aliasing_ok" >&6
Darwin*)
BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
;;
+ OSF*)
+ BASECFLAGS="$BASECFLAGS -mieee"
+ ;;
esac
;;
diff --git a/configure.in b/configure.in
index bcb07e6fcf..459e1061b2 100644
--- a/configure.in
+++ b/configure.in
@@ -737,6 +737,9 @@ yes)
Darwin*)
BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
;;
+ OSF*)
+ BASECFLAGS="$BASECFLAGS -mieee"
+ ;;
esac
;;