This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients ned.deily, ronaldoussoren
Date 2015-05-06.01:21:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430875287.46.0.873192743789.issue24130@psf.upfronthosting.co.za>
In-reply-to
Content
As noted in msg242635 of issue23911, for some reason configure.ac adds the gcc -fno-common option for OS X framework builds.  Is this still necessary?  I'm guessing it might be vestigial code left over from the Mac toolbox support in Python 2 that was removed in Python 3.

diff configure.ac
--- a/configure.ac      Tue May 05 12:04:35 2015 -0700
+++ b/configure.ac      Tue May 05 16:47:34 2015 -0700
@@ -2101,9 +2101,6 @@
 AC_MSG_CHECKING(for --enable-framework)
 if test "$enable_framework"
 then
-       BASECFLAGS="$BASECFLAGS -fno-common -dynamic"
-       # -F. is needed to allow linking to the framework while
-       # in the build location.
        AC_DEFINE(WITH_NEXT_FRAMEWORK, 1,
          [Define if you want to produce an OpenStep/Rhapsody framework
          (shared library plus accessory files).])

Also, there seems to be a unused reference to $extra_undefs left over in configure.ac from the removed Mac toolbox support:

--- a/configure.ac      Tue May 05 12:04:35 2015 -0700
+++ b/configure.ac      Tue May 05 18:20:21 2015 -0700
@@ -2346,8 +2346,6 @@
        Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
        # -u libsys_s pulls in all symbols in libsys
        Darwin/*)
-               LINKFORSHARED="$extra_undefs -framework CoreFoundation"
-
                # Issue #18075: the default maximum stack size (8MBytes) is too
                # small for the default recursion limit. Increase the stack size
                # to ensure that tests don't crash
History
Date User Action Args
2015-05-06 01:21:27ned.deilysetrecipients: + ned.deily, ronaldoussoren
2015-05-06 01:21:27ned.deilysetmessageid: <1430875287.46.0.873192743789.issue24130@psf.upfronthosting.co.za>
2015-05-06 01:21:27ned.deilylinkissue24130 messages
2015-05-06 01:21:26ned.deilycreate