Source: ruby2.7 Severity: normal Tags: patch User: debian-al...@lists.debian.org Usertags: alpha X-Debbugs-Cc: debian-al...@lists.debian.org
Hi! ruby3.0 currently FTBFS on alpha with an GCC internal compiler error [1]. This can be worked around by passing -O1 to the compiler. Could you patch debian/rules so that -O1 is passed to the compiler? --- debian/rules.orig 2021-10-18 14:52:16.000000000 +0200 +++ debian/rules 2021-11-07 23:12:07.114346920 +0100 @@ -62,6 +62,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow configure_options += $(shell dpkg-buildflags --export=configure) +ifneq (,$(filter $(DEB_HOST_ARCH),alpha)) +export DEB_CFLAGS_MAINT_APPEND += -O1 +endif + # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93808 ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4)) export DEB_CFLAGS_MAINT_APPEND += -fno-crossjumping Thanks, Adrian > [1] > https://buildd.debian.org/status/fetch.php?pkg=ruby3.0&arch=alpha&ver=3.0.2-5&stamp=1635296543&raw=0 -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913