🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.devel
Article #627

Re: Dropping big-endian targets - Re: WebKitGTK and architecture support in Debian

#627
From: Alberto Garcia
Date: Wed, 25 Nov 2026 23:40
83 lines
5389 bytes
On Mon, Nov 23, 2026 at 07:20:37PM +0100, John Paul Adrian Glaubitz wrote:

I would like to clarify a few things:

> Do you want Debian to become an x86_64-only distribution?

No, I don't.

I have personally committed patches to WebKit upstream to fix build
failures in multiple targets, including loongson, armhf, powerpc,
GNU/kFreeBSD, the Hurd, and yes, s390x. Most of them written in my
spare time.

I understand the frustration, but you're shooting the wrong target.

> > no one had shown interest in doing or funding that work.
> You did not even ask me.

Here I was talking in the context of the upstream WebKit project.

This project receives contributions from many individuals and
organizations. Over the years, some of them have actively worked (or
funded the work) to maintain the Linux ports of WebKit running on
certain platforms, and the project is generally open to these kinds of
contributions.

And, again, in the context of the upstream WebKitGTK project, since
the time that it started using Skia, no one came to make it work on
s390x, I suspect because no one actually uses WebKitGTK on s390x.

So WebKitGTK dropped big-endian support. When that happened I decided
to request the removal of the s390x packages from the archive because
it's blocking more than 200 CVE fixes from reaching testing.

About the non-official ports (hppa, powerpc, m68k, sparc, etc.), I
didn't request any removal from anywhere. I added a build dependency
on "architecture-is-little-endian", which simply describes the current
status of the project, and prevents useful CPU cycles from being
wasted on a build that is 100% guaranteed to fail. If someone manages
to provide a patch that makes it build I'm happy to take it (as I have
always done) as long as it's something that I can evaluate, is not too
intrusive and doesn't break other targets.

But for an official port like s390x I would be against enabling it
again without a credible plan from someone to do the actual work, and
*own* it (see below).

> This is about Skia, not WebKit.

Even if it wast just about Skia, WebKitGTK updates it every month or
two, so any patches to make it work on big-endian targets would need
to be rebased constantly.

But I'm afraid that this is not just about Skia. The common WebKit
code is full of '#if CPU(BIG_ENDIAN)' code that is basically dead and
no one is testing.

In fact I just saw that there's even a hard build error in
PlatformCPU.h (this is not Skia, this is project-wide code):

   #if !CPU(LITTLE_ENDIAN)
   #error "Unsupported endian"
   #endif

And see where that came from:

   https://commits.webkit.org/318379@main

> Plus, there are people from IBM willing to step in to help. I'm not
> sure why you didn't accept their help.

The people from IBM wrote offering their help, and within 30 minutes I
sent them a reply describing the current status of the problem,
showing an example of another project that was patching Skia
downstream as a reference, and I directed them to upstream WebKitGTK,
where their work would be the most valuable.

If that effort ends up being successful, then the situation in Debian
can be re-evaluated.

Regards,

Berto
Technical Details
Message-ID: <O3uKJ-e9Ta-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NVp5w-9D6X-5@gated-at.bofh.it> <NVGJ3-9MDR-7@gated-at.bofh.it> <O2GXF-dIEw-73@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Alberto Garcia <berto@debian.org>
Newsgroups: linux.debian.devel
Subject: Re: Dropping big-endian targets - Re: WebKitGTK and architecture  support in Debian
Date: Thu, 26 Nov 2026 00:40:01 +0100
Message-ID: <O3uKJ-e9Ta-1@gated-at.bofh.it>
References: <NVp5w-9D6X-5@gated-at.bofh.it> <NVGJ3-9MDR-7@gated-at.bofh.it> <O2GXF-dIEw-73@gated-at.bofh.it>
X-Original-To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
X-Mailbox-Line: From debian-devel-request@lists.debian.org  Wed Nov 25 23:30:10 2026
Old-Return-Path: <berto@debian.org>
X-Amavis-Spam-Status: No, score=0.799 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 GUARANTEED_100_PERCENT=2.699] autolearn=no autolearn_force=no
X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .debian. - helo: .fanzine2.igalia. - helo-domain: .igalia.)  FROM/MX_MATCHES_NOT_HELO(DOMAIN)=0; rate: -3.5
Mail-Followup-To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	debian-devel <debian-devel@lists.debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Rspamd-Score: -3.0
X-Rspamd-Action: no action
X-Rspamd-Bar: --
X-Mailing-List: <debian-devel@lists.debian.org> archive/latest/373389
List-ID: <debian-devel.lists.debian.org>
List-URL: <https://lists.debian.org/debian-devel/>
List-Archive: https://lists.debian.org/msgid-search/awdrlcretamEKbP5@igalia.com
Approved: robomod@news.nic.it
Lines: 83
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: debian-devel <debian-devel@lists.debian.org>
X-Original-Date: Thu, 26 Nov 2026 00:13:25 +0100
X-Original-Message-ID: <awdrlcretamEKbP5@igalia.com>
X-Original-References: <5e057f22d13a2bcd7360a3c988c541b88970dbe2.camel@physik.fu-berlin.de>
 <ausGBkfs0G0jCNoa@igalia.com>
 <c659911b3fe33e0ef0b6abb9d31f7c9db794a8a6.camel@physik.fu-berlin.de>