Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e004041

Browse files
committed
Bugfix for #775892: added -mno-fused-madd to BASECFLAGS on MacOSX.
This makes test_coercion pass on Panther. Also added a note to NEWS that pythonw works again (it was broken in rc1).
1 parent 6145a62 commit e004041

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,11 @@ Mac
243243

244244
- Fixed two bugs in MacOSX framework handling.
245245

246+
- pythonw did not allow user interaction in 2.3rc1, this has been fixed.
247+
248+
- Python is now compiled with -mno-fused-madd, making all tests pass
249+
on Panther.
250+
246251
What's New in Python 2.3 beta 2?
247252
================================
248253

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.425 .
2+
# From configure.in Revision: 1.426 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53 for python 2.3.
55
#
@@ -3695,7 +3695,7 @@ echo "${ECHO_T}$ac_cv_no_strict_aliasing_ok" >&6
36953695
;;
36963696
# is there any other compiler on Darwin besides gcc?
36973697
Darwin*)
3698-
BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp"
3698+
BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
36993699
;;
37003700
esac
37013701
;;

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ yes)
664664
;;
665665
# is there any other compiler on Darwin besides gcc?
666666
Darwin*)
667-
BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp"
667+
BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd"
668668
;;
669669
esac
670670
;;

0 commit comments

Comments
 (0)