Bug#995717: webkit2gtk: Please update CPPFLAGS on sh3 and sh4
John Paul Adrian Glaubitz <[email protected]> Mon, 04 Oct 2021 18:07:06 +0200
| Newsgroups | gmane.linux.debian.ports.superh |
|---|---|
| Message-ID | <163336362666.3324987.5354279994455888726.reportbug__35320.5789391481$1633363772$gmane$org@nofan.physik.fu-berlin.de> |
Source: webkit2gtk Version: 2.34.0-1 Severity: normal Tags: patch User: [email protected] Usertags: sh3 sh4 X-Debbugs-Cc: [email protected] Hello! I've made another attempt building webkit2gtk on sh4 and I finally managed to build the package again with by dropping "-mlra" and lowering the optimization level to 1: --- debian/rules.orig 2021-09-23 12:10:43.000000000 +0200 +++ debian/rules 2021-10-04 18:02:27.495610679 +0200 @@ -45,7 +45,7 @@ # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93876 # and: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93877 ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4)) - CPPFLAGS += -mlra -fno-move-loop-invariants + CPPFLAGS += -O1 endif ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) Could you update debian/rules with those changes above? I will check later which of the optimizations from -O2 are actually responspible for the internal compiler error and report the issue upstream or update the existing bug report. Thanks, Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - [email protected] `. `' Freie Universitaet Berlin - [email protected] `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
webkit2gtk-sh-cppflags.diff
(text/plain, 426 B)
--- debian/rules.orig 2021-09-23 12:10:43.000000000 +0200 +++ debian/rules 2021-10-04 18:02:27.495610679 +0200 @@ -45,7 +45,7 @@ # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93876 # and: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93877 ifneq (,$(filter $(DEB_HOST_ARCH),sh3 sh4)) - CPPFLAGS += -mlra -fno-move-loop-invariants + CPPFLAGS += -O1 endif ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))