Bug#1134097: webkit2gtk: Please refresh no-must-tail.patch to address FTBFS on alpha and sh4
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Thu Apr 16 11:29:00 BST 2026
Source: webkit2gtk
Version: 2.52.2-2
Severity: normal
Tags: ftbfs patch
X-Debbugs-Cc: debian-alpha at lists.debian.org, debian-superh at lists.debian.org
User: debian-superh at lists.debian.org
Usertags: sh4
User: debian-alpha at lists.debian.org
Usertags: alpha
Hi,
the patch no-must-tail.patch needs an update to fix the FTBFS on alpha and sh4.
I am attaching an updated version of the patch. Please consider including it
for the next upload.
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
From: John Paul Adrian Glaubitz <glaubitz at physik.fu-berlin.de>
Subject: Disable musttail on alpha, hppa, sh4 and m68k
Bug-Debian: https://bugs.debian.org/1125380
Index: webkit2gtk-2.52.2/Source/ThirdParty/skia/modules/skcms/src/skcms_internals.h
===================================================================
--- webkit2gtk-2.52.2.orig/Source/ThirdParty/skia/modules/skcms/src/skcms_internals.h
+++ webkit2gtk-2.52.2/Source/ThirdParty/skia/modules/skcms/src/skcms_internals.h
@@ -52,11 +52,16 @@ extern "C" {
&& !defined(__arm__) \
&& !defined(__riscv) \
&& !defined(__powerpc__) \
+ && !defined(__alpha__) \
+ && !defined(__hppa__) \
+ && !defined(__m68k__) \
+ && !defined(__sh__) \
&& !defined(__loongarch__) \
&& !defined(_WIN32) && !defined(__SYMBIAN32__)
#define SKCMS_HAS_MUSTTAIL 1
#endif
- #elif defined(__GNUC__) && !defined(SKCMS_HAS_MUSTTAIL)
+ #elif defined(__GNUC__) && !defined(SKCMS_HAS_MUSTTAIL) && !defined(__alpha__) && \
+ !defined(__hppa__) && !defined(__m68k__) && !defined(__sh__)
// GCC on riscv64 does not support our tail call functions
// cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121784
#if __has_cpp_attribute(clang::musttail) && !defined(__riscv)
@@ -64,7 +69,8 @@ extern "C" {
#else
#define SKCMS_HAS_MUSTTAIL 0
#endif
- #elif !defined(__clang__) && !defined(SKCMS_HAS_MUSTTAIL)
+ #elif !defined(__clang__) && !defined(SKCMS_HAS_MUSTTAIL) && !defined(__alpha__) && \
+ !defined(__hppa__) && !defined(__m68k__) && !defined(__sh__)
#if __has_cpp_attribute(clang::musttail)
#define SKCMS_HAS_MUSTTAIL 1
#else
Index: webkit2gtk-2.52.2/Source/ThirdParty/skia/src/core/SkRasterPipeline.h
===================================================================
--- webkit2gtk-2.52.2.orig/Source/ThirdParty/skia/src/core/SkRasterPipeline.h
+++ webkit2gtk-2.52.2/Source/ThirdParty/skia/src/core/SkRasterPipeline.h
@@ -26,8 +26,8 @@ enum SkColorType : int;
struct SkImageInfo;
struct skcms_TransferFunction;
-#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && \
- !defined(SK_CPU_LOONGARCH) && !defined(SK_CPU_PPC) && \
+#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && !defined(__alpha__) && \
+ !defined(SK_CPU_LOONGARCH) && !defined(SK_CPU_PPC) && !defined(__sh__) && !defined(__m68k__) && !defined(__hppa__) && \
!(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK))
// [[clang::musttail]] is disabled for the Android version of Skia running on Windows as it
// causes crashes (This is probably related to http://crbug.com/1505442).
More information about the Pkg-webkit-maintainers
mailing list