File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1145,6 +1145,12 @@ Extension Modules
11451145Build
11461146-----
11471147
1148+ - Issue #8625: Turn off optimization in --with-pydebug builds with
1149+ gcc. (Optimization was unintentionally turned on in gcc
1150+ --with-pydebug builds as a result of the issue #1628484 fix,
1151+ combined with autoconf's strange choice of default CFLAGS produced
1152+ by AC_PROG_CC for gcc.)
1153+
11481154- Issue #3646: It is now easily possible to install a Python framework into
11491155 your home directory on MacOSX, see Mac/README for more information.
11501156
Original file line number Diff line number Diff line change 11#! /bin/sh
2- # From configure.in Revision: 80666 .
2+ # From configure.in Revision: 80728 .
33# Guess values for system-dependent variables and create Makefiles.
44# Generated by GNU Autoconf 2.65 for python 3.2.
55#
@@ -5288,7 +5288,7 @@ then
52885288 if test " $Py_DEBUG " = ' true' ; then
52895289 # Optimization messes up debuggers, so turn it off for
52905290 # debug builds.
5291- OPT=" -g -Wall $STRICT_PROTO "
5291+ OPT=" -g -O0 - Wall $STRICT_PROTO "
52925292 else
52935293 OPT=" -g $WRAP -O3 -Wall $STRICT_PROTO "
52945294 fi
@@ -13553,13 +13553,14 @@ fi
1355313553
1355413554
1355513555
13556-
1355713556case $ac_sys_system in
1355813557 OSF* ) as_fn_error " OSF* systems are deprecated unless somebody volunteers. Check http://bugs.python.org/issue8606" " $LINENO " 5 ;;
1355913558esac
1356013559
1356113560
1356213561
13562+
13563+
1356313564for h in ` (cd $srcdir ; echo Python/thread_* .h)`
1356413565do
1356513566 THREADHEADERS=" $THREADHEADERS \$ (srcdir)/$h "
Original file line number Diff line number Diff line change 875875 if test "$Py_DEBUG" = 'true' ; then
876876 # Optimization messes up debuggers, so turn it off for
877877 # debug builds.
878- OPT="-g -Wall $STRICT_PROTO"
878+ OPT="-g -O0 - Wall $STRICT_PROTO"
879879 else
880880 OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
881881 fi
You can’t perform that action at this time.
0 commit comments