https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122211
Bug ID: 122211
Summary: [m68k] Python 3.14 crashes with SIGILL when built with
GCC 15
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: dilfridge at gentoo dot org, sjames at gcc dot gnu.org
Target Milestone: ---
Target: m68k-*-*
Debian recently switched it's default compiler from GCC 14 to GCC 15 and ever
since the switch happened, Python 3.14 crashes with SIGILL on m68k:
./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
qemu: uncaught target signal 4 (Illegal instruction) - core dumped
Illegal instruction
Build log of first unsuccessful build with SIGILL crash:
https://buildd.debian.org/status/fetch.php?pkg=python3.14&arch=m68k&ver=3.14.0%7Erc3-1&stamp=1758218958&raw=0
Last successful build:
https://buildd.debian.org/status/fetch.php?pkg=python3.14&arch=m68k&ver=3.14.0%7Erc2-1&stamp=1755808203&raw=0
Main difference between last successful and first unsuccessful build: Default
compiler was switched from GCC 14 to GCC 15.
Will conduct a deeper investigation in the following days.