Re: Bug#1121969: python3.14: Please build with -O1 on m68k to workaround interpretor lockups

John Paul Adrian Glaubitz <[email protected]> Fri, 05 Dec 2025 20:13:00 +0100
Newsgroups gmane.linux.debian.ports.68k
Message-ID <0483798fb8a9d51ae3012482a0167875e3137e03.camel@physik.fu-berlin.de>
Hi Eero,

On Fri, 2025-12-05 at 20:56 +0200, Eero Tamminen wrote:
> > +ifneq (,$(filter $(DEB_HOST_ARCH), m68k))
> > +    OPT_CFLAGS +=3D $(filter-out -O%,$(DPKG_CFLAGS)) -O1
> > +    OPT_PIE_CFLAGS +=3D $(filter-out -O%,$(DPKG_PIE_CFLAGS)) -O1
> > +endif
> > +
>=20
> Add also GCC version >=3D15 check to arch check?
>=20
> (To avoid perf regression on older compilers.)

There is always just one default C/C++ compiler in Debian and gcc-14
will eventually be removed anyway. Plus, it's just a workaround which
I don't expect to be kept long.

Adrian

--=20
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913