[issue29641] Missing _sysconfig_data when building+installating Python using PGO+LTO

2017-02-24 Thread STINNER Victor
STINNER Victor added the comment: Ok, I confirm that it's possible to compile and install Python using PGO+LTO without --enable-optimizatioins: cd ~/cpython make distclean ||: ./configure --with-lto --prefix=/home/haypo/installed/3.7 make clean make profile-opt make install --

[issue29641] Missing _sysconfig_data when building+installating Python using PGO+LTO

2017-02-24 Thread STINNER Victor
STINNER Victor added the comment: The --enable-optimizations option of ./configure was added by the issue #26359 (first named --with-optimizations, it was recalled to --enable-optimizations later). See also: * issue #28032: "never imply --with-lto as part of --with-optimizations" * issue

[issue29641] Missing _sysconfig_data when building+installating Python using PGO+LTO

2017-02-24 Thread STINNER Victor
STINNER Victor added the comment: PGO compilation uses "make profile-removal", maybe my issue is linked to that? I'm sure that PGO compilation + "make install" worked two months, but using: make profile-opt && make install. -- ___ Python tracker

[issue29641] Missing _sysconfig_data when building+installating Python using PGO+LTO

2017-02-24 Thread STINNER Victor
New submission from STINNER Victor: Hi, I compiled Python 3.7 using PGO+LTO with "make && make install", but it seems like it lacks the _sysconfigdata module. Moreover, I don't see any "Makefile" file in the installed directory, so the "~/installed/3.7/bin/python3 -S -m sysconfig