Hi, On 2020-03-12 13:55, Emilio Pozuelo Monfort wrote: > Control: severity -1 serious > > On Wed, 4 Mar 2020 01:53:25 +0100 Nicolas Boulenguez <nico...@debian.org> > wrote: > > Source: libgnatcoll-db > > Version: 19.2-2 > > Severity: normal > > > > The relevant lines are: > > > > xref/gnatcoll-xref.adb: In function ‘GNATCOLL.XREF’: > > xref/gnatcoll-xref.adb:40:1: note: variable tracking size limit exceeded > > with ‘-fvar-tracking-assignments’, retrying without > > Assembler messages: > > 678119: Error: branch out of range > > This package has old binaries in mipsel, so this failure is RC as it prevents > the package from migrating to testing. I have just got aware of this bug as it indirectly prevents gcc-8 removal and makes the GCC maintainer angry. In the future don't hesitate to Cc: the debian-m...@lists.debian.org mailing list so that porters can be aware of the issue.
My knowledge of ADA is very limited, so I am not sure I fully understood the problem. However please find below a first workaround using the -mxgot option to increase the size of the GOT and allow bigger jumps. --- libgnatcoll-db-19.2/debian/rules 2019-12-17 11:41:57.000000000 +0000 +++ libgnatcoll-db-19.2/debian/rules 2020-03-25 08:40:59.000000000 +0000 @@ -26,6 +26,12 @@ include /usr/share/dpkg/buildflags.mk include /usr/share/ada/debian_packaging-$(GNAT_VERSION).mk +# On mipsel gnatcoll-xref.adb generates long jump that do not fit in +# standard branch instructions. Use the mxgot option to workaround that. +ifeq ($(DEB_HOST_ARCH),mipsel) +DEB_CFLAGS_MAINT_APPEND := -mxgot +endif + # The scenario variables passed to gprbuild and dh_ada_library. BUILD := PROD GNATCOLL_SQLITE := external Regards, Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
signature.asc
Description: PGP signature