On 2024-01-29 01:33, Luca Boccassi wrote:
> On the Bugzilla report a patch has been linked, would it be possible to
> backport it, please?
> 
> https://gcc.gnu.org/pipermail/gcc-patches/2024-January/644147.html

I have rebuilt gcc-14 with the attached debdiff, and then tried building
systemd passing the newly built debs as --extra-package - which resulted
in libatomic1 and a few others being upgraded. Unfortunately systemd
still failed building, see full logs at:
https://people.debian.org/~ema/systemd_255.3-1_armel.build
diff -Nru gcc-14-14-20240127/debian/changelog gcc-14-14-20240127/debian/changelog
--- gcc-14-14-20240127/debian/changelog	2024-01-27 09:51:04.000000000 +0100
+++ gcc-14-14-20240127/debian/changelog	2024-01-29 19:55:54.000000000 +0100
@@ -1,3 +1,9 @@
+gcc-14 (14-20240127-1.1) unstable; urgency=medium
+
+  * Add upstream patch libatomic-armel.diff.
+
+ -- Emanuele Rocca <e...@debian.org>  Mon, 29 Jan 2024 19:55:54 +0100
+
 gcc-14 (14-20240127-1) unstable; urgency=medium
 
   * Snapshot, taken from the trunk 20240127.
diff -Nru gcc-14-14-20240127/debian/patches/libatomic-armel.diff gcc-14-14-20240127/debian/patches/libatomic-armel.diff
--- gcc-14-14-20240127/debian/patches/libatomic-armel.diff	1970-01-01 01:00:00.000000000 +0100
+++ gcc-14-14-20240127/debian/patches/libatomic-armel.diff	2024-01-29 19:55:54.000000000 +0100
@@ -0,0 +1,12 @@
+Index: gcc-14-14-20240127/src/libatomic/Makefile.am
+===================================================================
+--- gcc-14-14-20240127.orig/src/libatomic/Makefile.am
++++ gcc-14-14-20240127/src/libatomic/Makefile.am
+@@ -139,6 +139,7 @@ if ARCH_ARM_LINUX
+ IFUNC_OPTIONS	     = -march=armv7-a+fp -DHAVE_KERNEL64
+ libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS)))
+ libatomic_la_LIBADD += $(addsuffix _8_2_.lo,$(SIZEOBJS))
++libatomic_la_LIBADD += tas_1_2_.lo
+ endif
+ if ARCH_I386
+ IFUNC_OPTIONS	     = -march=i586
diff -Nru gcc-14-14-20240127/debian/rules.patch gcc-14-14-20240127/debian/rules.patch
--- gcc-14-14-20240127/debian/rules.patch	2024-01-26 12:31:20.000000000 +0100
+++ gcc-14-14-20240127/debian/rules.patch	2024-01-29 19:55:54.000000000 +0100
@@ -232,6 +232,7 @@
 endif
 
 debian_patches += go-testsuite
+debian_patches += libatomic-armel
 
 # don't remove, this is regularly overwritten, see PR sanitizer/63958.
 #debian_patches += libasan-sparc

Reply via email to