https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123076
Bug ID: 123076
Summary: [15/16 Regression] [m68k] CPython interpreter locks up
when built with GCC 15 with -O2
Product: gcc
Version: 15.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: glaubitz at physik dot fu-berlin.de
CC: schwab at gcc dot gnu.org, sjames at gcc dot gnu.org
Target Milestone: ---
Target: m68k-*-*
Trying to build CPython (Python 3.13 or 3.14) on m68k GCC 15 with -O2 causes
the interpreter to lock up during build:
PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.14 \
./python -E -Wi
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.14/compileall.py \
-o 0 -o 1 -o 2 -j0 -d /usr/lib/python3.14 -f \
-x 'bad_coding|badsyntax|site-packages' \
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.14
Listing '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.14'...
Listing '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3.14/__phello__'...
E: Build killed with signal TERM after 600 minutes of inactivity
Building or with GCC 14 with -O1 works fine. I have not tracked down yet which
of the -O2 optimization flags causes the lock-ups.
Full build log in:
https://buildd.debian.org/status/fetch.php?pkg=python3.14&arch=m68k&ver=3.14.0-5&stamp=1764697002&raw=0