Widevine support in Librem 5

I looked at all the patches to figure out which of them we actually need for Widewine on Byzantium.

Here are my findings:

Patch Description Status Comments
Upstream issue 27744 nptl_db: Support different libpthread/ld.so load orders Not needed Arch Linux’s unmodified glibc v2.33 package has the patch, too, so we’re probably not going to need this patch for Widevine.
Upstream commit f553dc06 nptl: Check for compatible GDB in nptl/tst-pthread-gdb-attach Not needed Same as with patch 27744.
Upstream commit 6f3e54d4 nptl: Do not build nptl/tst-pthread-gdb-attach as PIE Not needed Same as with patch 27744.
SHT_RELR/DT_RELR patch glibc: add support for SHT_RELR sections In progress See xbmc/inputstream.adaptive#678 (comment). Note that this patch has been upstreamed in an enhanced form, and is part of the glibc v2.38 stable release.

Update: I have backported that upstreamed patch to v2.31 and am currently testing it for regressions.
TLS alignment patch TLS: change max_align to 64U to fix dlopen segfault Pending See xbmc/inputstream.adaptive#678 (comment).
arm/unsubmitted-ldconfig-cache-abi.diff rollback Unrelated patch, which allegedly interferes with the DT_RELR patch Pending See raspberrypi/Raspberry-Pi-OS-64bit#11 (comment).
arm/unsubmitted-ldso-abi-check.diff rollback Unrelated patch, which allegedly interferes with the DT_RELR patch Not needed Patch already removed from Debian package in v2.29-3.
Make 4.4 MAKEFLAGS patch makerules: fix MAKEFLAGS assignment for upcoming make-4.4 [BZ# 29564] Not needed PureOS Byzantium still comes with Make 4.3.
5 Likes