diff -urN /z/llvm-toolchain-22-22.1.8/debian/changelog llvm-toolchain-22-22.1.8/debian/changelog
--- /z/llvm-toolchain-22-22.1.8/debian/changelog	2026-08-15 23:55:12.000000000 +0000
+++ llvm-toolchain-22-22.1.8/debian/changelog	2026-09-05 06:56:49.132628923 +0000
@@ -1,3 +1,10 @@
+llvm-toolchain-22 (1:22.1.8-1~deb13u5) trixie; urgency=medium
+
+  * d/rules: disable GLIBCXX_USE_CXX11_ABI on armel for stage1 building,
+    as apparently trixie's version of gcc can't handle it.
+
+ -- Andres Salomon <dilinger@debian.org>  Sat, 05 Sep 2026 06:56:42 +0000
+
 llvm-toolchain-22 (1:22.1.8-1~deb13u4) trixie; urgency=medium
 
   * d/rules:
diff -urN /z/llvm-toolchain-22-22.1.8/debian/files llvm-toolchain-22-22.1.8/debian/files
--- /z/llvm-toolchain-22-22.1.8/debian/files	1970-01-01 00:00:00.000000000 +0000
+++ llvm-toolchain-22-22.1.8/debian/files	2026-09-05 06:57:26.232797924 +0000
@@ -0,0 +1 @@
+llvm-toolchain-22_22.1.8-1~deb13u5_source.buildinfo devel optional
diff -urN /z/llvm-toolchain-22-22.1.8/debian/rules llvm-toolchain-22-22.1.8/debian/rules
--- /z/llvm-toolchain-22-22.1.8/debian/rules	2026-08-15 23:55:12.000000000 +0000
+++ llvm-toolchain-22-22.1.8/debian/rules	2026-09-05 06:54:36.183948356 +0000
@@ -436,6 +436,7 @@
 
 ifneq (,$(findstring $(DEB_HOST_ARCH),armel))
   STAGE_ALL_CMAKE_EXTRA += -DLLVM_HOST_TRIPLE=arm-linux-gnueabi
+  STAGE_1_CMAKE_EXTRA += -DGLIBCXX_USE_CXX11_ABI=OFF
 # align arch profile with debian baseline
 # https://wiki.debian.org/ArmEabiPort
   CFLAGS_EXTRA += -march=armv5t
