tags 971018 +patch
thanks
I did some testing on the porterbox, which showed optimizing for size is
enough to make things build on mipsel.
Debdiff attached, no intent to NMU.
diff -Nru libgnatcoll-db-21.0.0/debian/changelog
libgnatcoll-db-21.0.0/debian/changelog
--- libgnatcoll-db-21.0.0/debian/changelog 2020-12-22 22:35:21.000000000
+0000
+++ libgnatcoll-db-21.0.0/debian/changelog 2020-12-29 13:27:55.000000000
+0000
@@ -1,3 +1,10 @@
+libgnatcoll-db (21.0.0-5.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Use -Os on mipsel, to work around jump length error (Closes: 971018).
+
+ -- Peter Michael Green <plugw...@debian.org> Tue, 29 Dec 2020 13:27:55 +0000
+
libgnatcoll-db (21.0.0-5) unstable; urgency=medium
[ Adrian Bunk <b...@debian.org> ]
diff -Nru libgnatcoll-db-21.0.0/debian/rules libgnatcoll-db-21.0.0/debian/rules
--- libgnatcoll-db-21.0.0/debian/rules 2020-11-17 18:33:55.000000000 +0000
+++ libgnatcoll-db-21.0.0/debian/rules 2020-12-29 13:27:55.000000000 +0000
@@ -34,6 +34,11 @@
DEB_CFLAGS_MAINT_APPEND := -mxgot
endif
+# Use -Os on mipsel to workaround further jump length issues
+ifneq (,$(filter mipsel,$(DEB_HOST_ARCH)))
+ DEB_CFLAGS_MAINT_APPEND += -Os
+endif
+
include /usr/share/dpkg/buildflags.mk
include $(wildcard /usr/share/ada/debian_packaging-$(GNAT_VERSION).mk)
# wildcard means: not during -indep builds.