summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-09-08 22:38:46 (GMT)
committerGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org>2016-09-08 22:38:46 (GMT)
commit14c7f71150c94ca35ca913b15c3d0cd236691ed6 (patch)
treec536b17e7cba0dcf051e152f9e30a796e4fca9ab /README
parent262b6793e04993cb88847a3fb8dab22848cf6647 (diff)
downloadcpython-14c7f71150c94ca35ca913b15c3d0cd236691ed6.zip
cpython-14c7f71150c94ca35ca913b15c3d0cd236691ed6.tar.gz
cpython-14c7f71150c94ca35ca913b15c3d0cd236691ed6.tar.bz2
issue28032: never imply --with-lto as part of --with-optimizations.
Too many build tool chains do not properly support it, including building and linking an executable fine that simply segfaults when you try to run it (such as debian jessie 8.5's gcc 4.9). On others where it does appear to build (ubuntu 16.04's gcc 5.4) there are still test_distutils and test_gdb failures to deal with. We're not going to spend time attempting to maintain a complicated white list of what does and doesn't work in our configure.ac file.
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 6 insertions, 5 deletions
diff --git a/README b/README
index 6dfbd8c..414b658 100644
--- a/README
+++ b/README
@@ -48,8 +48,8 @@ You should do a "make clean" at the toplevel first.)
To get an optimized build of Python, "configure --with-optimizations" before
you run make. This sets the default make targets up to enable Profile Guided
-Optimization (PGO) and Link Time Optimization (LTO) on most platforms.
-For more details, see the sections bellow.
+Optimization (PGO) and may be used to auto-enable Link Time Optimization (LTO)
+on some platforms. For more details, see the sections bellow.
Profile Guided Optimization
@@ -79,9 +79,10 @@ that is optimized and suitable for distribution or production installation.
Link Time Optimization
----------------------
-LTO takes advantages of recent compiler toolchains ability to optimize across
-the otherwise arbitrary .o file boundary when building final executables or
-shared libraries for additional performance gains.
+Enabled via configure's --with-lto flag. LTO takes advantages of recent
+compiler toolchains ability to optimize across the otherwise arbitrary .o file
+boundary when building final executables or shared libraries for additional
+performance gains.
What's New