[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2021-01-06 Thread STINNER Victor
STINNER Victor added the comment: Buildbots are back to green. It seems like the bug is gone with "gcc (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)". -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: I reported the issue to Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1891657 -- ___ Python tracker ___

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: > Yeah, now try to compile with LTO and CFLAGS='-O0' Using LTO: * "-O1 -finline-functions -finline-small-functions -fpartial-inlining" reproduces the issue. * "-O1" does not reproduce the issue. -- ___ Python

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > With LTO, compile.o requires an undefined _Py_Mangle symbol: Yeah, now try to compile with LTO and CFLAGS='-O0' -- ___ Python tracker

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: With LTO, compile.o requires an undefined _Py_Mangle symbol: $ gcc -pthread -c -DNDEBUG -fwrapv -O3 -std=c99 -fvisibility=hidden -flto -I./Include/internal -I. -I./Include -DPy_BUILD_CORE -o Python/compile.o Python/compile.c; nm Python/compile.o | grep

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: I reproduced the bug on Fedora 32 with gcc-10.2.1-6.fc32.x86_64 (new) but I failed to reproduce with gcc-10.2.1-1.fc32.x86_64 (old, before I upgraded GCC). So it's a regression of gcc-10.2.1-6.fc32.x86_64 package. The package contains multiple downstream

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread STINNER Victor
STINNER Victor added the comment: > I have been trying to diagnose this failure: > https://buildbot.python.org/all/#/builders/271/builds/710/steps/3/logs/stdio This is the "AMD64 Fedora Stable LTO 3.x" worker. The latest successful build was build 684, finished 6 days ago. test.pythoninfo of

[issue42164] Python fails to compile in the Fedora Stable LTO buildbots

2020-10-26 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : I have been trying to diagnose this failure: https://buildbot.python.org/all/#/builders/271/builds/710/steps/3/logs/stdio it happens on these buildbots: x86_64 fedora stable ppc64le fedora stable (so 32 now) It seems that CPython cannot be compiled