[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2020-06-11 Thread STINNER Victor
STINNER Victor added the comment: I fail to reproduce the issue on the master branch of Python on Fedora 32: * Python master at commit 9727694f08cad4b019d2939224e3416312b1c0e1 * Fedora 32 * gcc (GCC) 10.1.1 * GNU gdb (GDB) Fedora 9.1-5.fc32 Notice that multiple tests are skipped: $

[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2017-02-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: there may be something in sysconfig.get_config_vars() we could use or, better, we could add something specific to indicate both pgo and lto builds. -- ___ Python tracker

[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2017-02-17 Thread STINNER Victor
STINNER Victor added the comment: +@unittest.skipIf(python_is_optimized(), + "Python was compiled with optimizations") class PrettyPrintTests(DebuggerTests): I disagree with this skip. I just compiled Python with "./configure" and GCC: these tests pass. Except of one buildbot,

[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2017-02-17 Thread INADA Naoki
INADA Naoki added the comment: LGTM, but would you send pull request on Github? -- nosy: +inada.naoki ___ Python tracker ___

[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2016-04-23 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: I uploaded a patch that skips these tests if optimizations are available. -- keywords: +patch Added file: http://bugs.python.org/file42574/issue26788.patch ___ Python tracker

[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2016-04-17 Thread Alecsandru Patrascu
Alecsandru Patrascu added the comment: I will investigate this issue to understand what is happening there and submit a fix. Thank you for pointing out the exact OS and toolchain used. -- ___ Python tracker

[issue26788] test_gdb fails all tests on a profile-opt build configured --with-lto

2016-04-17 Thread Gregory P. Smith
New submission from Gregory P. Smith: cpython/build35.lto$ ./python ../3.5/Lib/test/test_gdb.py GDB version 7.10: GNU gdb (Ubuntu 7.10-1ubuntu2) 7.10 ... == FAIL: test_tuples (__main__.PrettyPrintTests) Verify the