Bug#1106027: wpewebkit: Please build with -mlarge-data and -mlarge-text on alpha

John Paul Adrian Glaubitz <[email protected]> Sun, 18 May 2025 22:34:59 +0200
Newsgroups gmane.linux.debian.ports.alpha
Message-ID <174760049948.255212.5154981618364398954.reportbug__30792.5577669934$1747600815$gmane$org@z6>
This is a multi-part MIME message sent by reportbug.


--===============7770811211567893825==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: wpewebkit
Version: 2.48.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: alpha
X-Debbugs-Cc: [email protected]

Hello,

wpewebkit is based on WebKit and therefore needs the same workaround
as webkit2gtk in #1101547 [1] to build on alpha:

--- debian/rules.orig   2025-03-14 23:12:01.000000000 +0100
+++ debian/rules        2025-03-27 10:18:12.936034298 +0100
@@ -63,6 +63,10 @@
 # Don't build with -gsplit-dwarf (see #1016936)
 EXTRA_CMAKE_ARGUMENTS += -DDEBUG_FISSION=OFF
 
+ifneq (,$(filter $(DEB_HOST_ARCH),alpha))
+       CPPFLAGS += -mlarge-data -mlarge-text
+endif
+
 # Use the CLoop Javascript interpreter and disable the JIT. This is
 # slow but it is the most compatible solution for old (non-SSE2) CPUs.
 ifneq (,$(filter $(DEB_HOST_ARCH),i386))

Could you patch debian/rules as shown above to adjust CPPFLAGS on alpha?

Thanks,
Adrian

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

--===============7770811211567893825==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="webkit2gtk-alpha-flags.diff"

--- debian/rules.orig	2025-03-14 23:12:01.000000000 +0100
+++ debian/rules	2025-03-27 10:18:12.936034298 +0100
@@ -63,6 +63,10 @@
 # Don't build with -gsplit-dwarf (see #1016936)
 EXTRA_CMAKE_ARGUMENTS += -DDEBUG_FISSION=OFF
 
+ifneq (,$(filter $(DEB_HOST_ARCH),alpha))
+	CPPFLAGS += -mlarge-data -mlarge-text
+endif
+
 # Use the CLoop Javascript interpreter and disable the JIT. This is
 # slow but it is the most compatible solution for old (non-SSE2) CPUs.
 ifneq (,$(filter $(DEB_HOST_ARCH),i386))

--===============7770811211567893825==--