summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-10-21 21:46:52 (GMT)
committerGitHub <noreply@github.com>2020-10-21 21:46:52 (GMT)
commitb451b0e9a772f009f4161f7a46476190d0d17ac1 (patch)
treef25e00d32d535a732f4bf189a892a04d7479c6cf /Doc/whatsnew
parent27f1bd8787d24ac53cc3dc6ea5eb00b8a3499839 (diff)
downloadcpython-b451b0e9a772f009f4161f7a46476190d0d17ac1.zip
cpython-b451b0e9a772f009f4161f7a46476190d0d17ac1.tar.gz
cpython-b451b0e9a772f009f4161f7a46476190d0d17ac1.tar.bz2
bpo-38980: Add -fno-semantic-interposition when building with optimizations (GH-22862)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index e275a7c..e464be6 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -256,6 +256,14 @@ Optimizations
It is about 36% faster now. (Contributed by Pablo Galindo and Yury Selivanov
in :issue:`42093`.)
+* When building Python with ``--enable-optimizations`` now
+ ``-fno-semantic-interposition`` is added to both the compile and link line.
+ This speeds builds of the Python interpreter created with ``--enable-shared``
+ with ``gcc`` by up to 30%. See `this article
+ <https://developers.redhat.com/blog/2020/06/25/red-hat-enterprise-linux-8-2-brings-faster-python-3-8-run-speeds/>`_
+ for more details. (Contributed by Victor Stinner and Pablo Galindo in
+ :issue:`38980`)
+
Deprecated
==========