[issue8535] passing optimization flags to the linker required for builds with gcc -flto
Matthias Klose
report at bugs.python.org
Mon Apr 26 13:00:43 CEST 2010
New submission from Matthias Klose <doko at debian.org>:
Building with -flto (GCC 4.5.0) requires passing the very same optimization flags to the linker (lto1) as well. The attached patch just does this. Tested on Linux only, I don't know what will/could break on on other systems/compilers.
Tested with a static build (--disable-shared) on x86_64. pybench results improve by 5% when building with 4.5.0 instead of 4.4.3, and by another 5% by building with -flto.
----------
components: Build
files: make-lto.diff
keywords: needs review, patch
messages: 104217
nosy: doko
severity: normal
status: open
title: passing optimization flags to the linker required for builds with gcc -flto
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file17091/make-lto.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8535>
_______________________________________
More information about the Python-bugs-list
mailing list