Message331845
| Author |
vstinner |
| Recipients |
cstratak, dstufft, eric.araujo, hroncok, ned.deily, vstinner |
| Date |
2018年12月14日.18:07:58 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1544810878.55.0.788709270274.issue35257@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
There are multiple ways to configure and build Python, we should try most combinations:
* ./configure --enable-shared
* ./configure --with-lto
* ./configure --enable-optimizations
* make profile-opt
* make
* Maybe also: make install
Test:
* Build Python and make sure that python binary and C extensions (of the stdlib) are compiled with LTO
* python-config --cflags and python-config --ldflags don't leak LTO flags
* Build a C extension (Pillow) and check that there is no LTO flag in the command lines
I'm not how to test cross-compilation :-( |
|