[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-11-06 Thread STINNER Victor


STINNER Victor  added the comment:

commit 100964e0310d3a2040d0db976f7984d0507b2dbd
Author: serge-sans-paille 
Date:   Wed Nov 4 23:01:08 2020 +

Disable peg generator tests when building with PGO (GH-23141)

Otherwise, when running the testsuite, test_peg_generator tries to compile C
code using the optimized flags and fails because it cannot find the profile
data.


commit 3997a4e6bca18c7f220d6212ef1e86d8aa9c7aee (upstream/3.9, 3.9)
Author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
Date:   Wed Nov 4 15:22:13 2020 -0800

Disable peg generator tests when building with PGO (GH-23141)


Otherwise, when running the testsuite, test_peg_generator tries to compile C
code using the optimized flags and fails because it cannot find the profile
data.
(cherry picked from commit 100964e0310d3a2040d0db976f7984d0507b2dbd)

Co-authored-by: serge-sans-paille 

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-11-04 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 2.0 -> 3.0
pull_requests: +22070
pull_request: https://github.com/python/cpython/pull/23155

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-11-03 Thread serge-sans-paille


Change by serge-sans-paille :


--
pull_requests: +22054
pull_request: https://github.com/python/cpython/pull/23141

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-11-01 Thread STINNER Victor


STINNER Victor  added the comment:

> This bug no longer happens on master branch because it's related to 
> test_peg_generator.

test_peg_generator exists in 3.9 and master branches.

configure.ac doesn't seem to be different in 3.9 and master branches for 
PGO_PROF_USE_FLAG and LLVM_PROF_MERGER variables.

I don't understand why this change is specific to the 3.9 branch.

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-10-30 Thread serge-sans-paille


Change by serge-sans-paille :


--
keywords: +patch
pull_requests: +21955
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/23037

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue42207] Python 3.9 testing fails when building with clang and optimizations are enabled

2020-10-30 Thread serge-sans-paille


New submission from serge-sans-paille :

How to reproduce:

```
git clone https://github.com/python/cpython && cd cpython
mkdir -p _build/optimized
cd _build/optimized
../../configure --enable-optimizations CC=clang
make
cd ..
./optimized/python -m test.regrtest -wW --slowest -j0 --timeout=1800 2>&1 | 
grep "error: Could not read profile code.profclangd"
```

This bug no longer happens on master branch because it's related to 
test_peg_generator.

--
components: Build
messages: 379972
nosy: serge-sans-paille
priority: normal
severity: normal
status: open
title: Python 3.9 testing fails when building with clang and optimizations are 
enabled
versions: Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com