Source: python3.7 Severity: normal Tags: patch User: debian-ia64@lists.debian.org Usertags: ia64
Dear Maintainer, The attached patch includes a number of fixes to python3.7's debian/rules: 1) Due to a gcc bug[1], -O3 needs to be disabled on ia64. 2) The -O2 override for m68k added for Debian bug #326903 is no longer needed, and was removed 3) The -mieee and -O2 overrides for DEC Alpha added for Debian bug #212912 are no longer needed, and were removed [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85412 -- System Information: Debian Release: buster/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: ia64 Kernel: Linux 4.17.0-1-mckinley (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
--- debian/rules.orig 2018-08-05 13:09:54.027342191 -0400 +++ debian/rules 2018-08-05 13:12:50.900361875 -0400 @@ -160,14 +160,9 @@ OPT_CFLAGS := $(filter-out -O%,$(DPKG_CFLAGS)) # default is -O3 DEBUG_CFLAGS := $(patsubst -O%,-Og,$(DPKG_CFLAGS)) -# on alpha, use -O2 only, use -mieee -ifeq ($(DEB_HOST_ARCH),alpha) - OPT_CFLAGS += -mieee - DEBUG_CFLAGS += -mieee - EXTRA_OPT_FLAGS += -O2 -endif -ifeq ($(DEB_HOST_ARCH),m68k) - EXTRA_OPT_FLAGS += -O2 +# on ia64, disable -O3 until gcc bug #85412 is fixed +ifeq ($(DEB_HOST_ARCH),ia64) + EXTRA_OPT_CFLAGS += -O2 endif ifneq (,$(filter $(DEB_HOST_ARCH), ppc64 ppc64el)) OPT_CFLAGS += -fexceptions