Bug#986743: brltty: Please pass -static-libc to UDEB_LDFLAGS on ia64

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Apr 11 01:14:05 BST 2021


Source: brltty
Version: 6.3+dfsg-1
Severity: normal
Tags: patch
User: debian-ia64 at lists.debian.org
Usertags: ia64
X-Debbugs-Cc: debian-ia64 at lists.debian.org

Hello!

Adrian Bunk has had a go at the FTBFS of brltty on ia64 and he finally found a
solution which is passing -static-libgcc to UDEB_LDFLAGS on ia64:

--- a/brltty-6.3+dfsg/debian/rules      2021-01-28 16:18:34.000000000 +0000
+++ b/brltty-6.3+dfsg/debian/rules      2021-04-11 00:10:47.933611489 +0000
@@ -25,6 +25,9 @@
 DEB_CONFIGURE_OPTIONS = --with-curses=ncursesw --disable-stripping
 
 UDEB_CFLAGS=-Os -fomit-frame-pointer
+ifneq (,$(filter $(DEB_HOST_ARCH), ia64))
+UDEB_LDFLAGS=-static-libgcc
+endif
 UDEB_DISABLE=speech-support pcm-support midi-support fm-support \
        contracted-braille api gpm iconv icu x polkit
 UDEB_CONFIGURE_OPTIONS=--with-braille-driver=-vr,all \
@@ -91,6 +94,7 @@
        cd build-brltty-udeb && \
                $(HARDENING) \
                CFLAGS="$$(DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get CFLAGS) $(UDEB_CFLAGS)" \
+               LDFLAGS="$$(DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get LDFLAGS) $(UDEB_LDFLAGS)" \
                ../configure \
                $(CONFIGURE_OPTIONS) \
                $(UDEB_CONFIGURE_OPTIONS)

This fixes the FTBFS for me (verified on yttrium.debian.net) and should consequently
fix the FTBFS of debian-installer on ia64, too (once src:linux is fixed as well in
kernel version 5.12).

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-a11y-devel mailing list