pmaports/device
Aelin ab005ffc19
linux-postmarketos-mainline: Temporarily patch for LLVM-only build on ppc64le
The PowerPC boot wrapper script in Linux currently requires a GNU
cross toolchain in PATH. This went unnoticed because we currently always
install GCC for native builds, but since recently only install a cross
GCC toolchain if clang is not used to build.

Indeed, we want to only build the kernel with clang and LLVM binutils.
There has been some discussion around fixing this in the past, and
Nathan Chancellor has written some patches that do fix it, but has
apparently not submitted them because the VDSO may require further
changes. I've followed up on the mailing list and asked about the
possibility to submit the patches without reworking the VDSO, since it
fixes this particular usecase nonetheless.

I've also considered installing the cross GCC package in the APKBUILD,
but that's not possible because pmbootstrap cannot evaluate conditional
dependencies. As it stands, we *need* to patch the kernel to get it
building, or revert the pmbootstrap patch, which I really want to avoid.
I'll do my best to get these patches integrated upstream.

[ci:skip-vercheck]: let's not rebuild all the architectures when we're
only touching ppc64le that isn't building in BPO

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8072>
2026-03-12 17:37:30 +00:00
..
.gitlab-ci/packages ci/qcom-devicepkg-bootimg: configure job to only run manually, ignore failure 2026-02-06 19:27:12 +00:00
.shared-patches device: Move MSM GPU compile fix to shared patches 2025-09-23 20:16:11 +00:00
archived device-nokia-panther: move to archive 2026-03-08 16:38:06 +00:00
community device-xiaomi-beryllium: disable quiet 2026-03-11 22:53:52 +09:00
downstream [samsung-jfvelte] fix boot image size 2026-03-10 15:34:48 +00:00
main linux-postmarketos-mainline: Temporarily patch for LLVM-only build on ppc64le 2026-03-12 17:37:30 +00:00
testing linux-next: upgrade to next-20260311 2026-03-11 16:45:23 +00:00