Bug#995717: webkit2gtk: Please update CPPFLAGS on sh3 and sh4
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Mon Oct 4 17:07:06 BST 2021
Source: webkit2gtk
Version: 2.34.0-1
Severity: normal
Tags: patch
User: debian-superh at lists.debian.org
Usertags: sh3 sh4
X-Debbugs-Cc: debian-superh at lists.debian.org
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 - glaubitz at debian.org
`. `' Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
--- 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)))
More information about the Pkg-webkit-maintainers
mailing list