On Tue, Nov 03, 2026 at 10:57:31AM +0100, Alberto Garcia wrote: > > I am currently working on a patch that fixes Skia on big endian > > architectures. I have got it build and have fixed some test-cases > > and is currently working on the rest. I'll update you as I go > > forward. > > My opinion is that this should be sent upstream (not to Google, > because it's unlikely to be accepted, but to WebKitGTK) and someone > would need to commit to maintain it there. The WebKitGTK team does > not have resources for that.
I don't know if you are still working on this, but I would like to point out that fixing Skia won't be enough, as code to support big-endian platforms has been removed from other parts of WebKit (outside of Skia). On a cursory look there's at least a couple of commits: https://commits.webkit.org/318393@main https://commits.webkit.org/318379@main The latter is especially significant since it removes big-endian code from differente places, including WTF, which is the project-wide library that contains basic primitives and data types like strings. Apart from the removed code you also get an explicit, project-wide "Unsupported endian" error if you're not building for a little-endian target. This is already in WebKitGTK 2.55.1 (available in experimental), and will become the next stable branch in a few months. That's why I say that if this is for real it needs to be discussed with upstream, as the WebKit project is running under the assumption that big-endian targets are not supported. Berto

