[issue34985] python finds test modules from the wrong directory during PGO build

2019-08-11 Thread Carol Willing
Carol Willing added the comment: When building from the gzipped source of 3.8.0b3, I am seeing similar crashes on Ubuntu 18.04. Running ``make clean`` prior to ``configure`` and ``make`` seems to have resolved the issue. After this the regrtest was being found in the 3.8.0b3 directory. I

[issue34985] python finds test modules from the wrong directory during PGO build

2018-10-15 Thread Brett Cannon
Brett Cannon added the comment: I think there might be more going on here as the build target as it uses the built Python which has special logic to notice it is being built in a checkout. Did you launch the build from a directory other than the git checkout? Or were you trying to do a

[issue34985] python finds test modules from the wrong directory during PGO build

2018-10-14 Thread Kal Sze
New submission from Kal Sze : OS: Ubuntu Desktop 18.04.1 x86-64 Python 3.7.0 When trying to build Python 3.7 from source, with the `--enable-shared --enable-optimizations --with-lto` configure options, python needs to run the test suite in order to generate PGO data. However, it turns out