Bug#806910: missing libmvec_nonshared.a causes linking failures
Package: libc6-dev
Version: 2.22-0experimental0
Severity: grave
Tags: patch
Several builds with libc6 2.22-0experimental0 fail with
/usr/bin/ld: cannot find /lib/x86_64-linux-gnu/libmvec_nonshared.a
There are two problems here:
(1) libmvec_nonshared.a is built, but not installed (into libc6-dev)
(2) It probably should be installed into /usr/lib/x86_64-linux-gnu, but the
linker script expects it to be in /lib/x86_64-linux-gnu
Attached install-libmvec_nonshared.patch fixes (1) and
fix-libmvec_nonshared-location.patch (to be applied over
debian/patches/git-updates.diff) fixes (2).
Cheers, Roderich
-- System Information:
Debian Release: stretch/sid
APT prefers xenial
APT policy: (500, 'xenial'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libc6-dev depends on:
ii libc-dev-bin 2.22-0experimental0
ii libc6 2.22-0experimental0
ii linux-libc-dev 4.3-1~exp1
libc6-dev recommends no packages.
Versions of packages libc6-dev suggests:
ii glibc-doc 2.22-0experimental0
ii manpages-dev 3.74-1
-- no debconf information
--- glibc-2.22-ORIG/debian/debhelper.in/libc-dev.install 2015-12-02 17:43:57.386493285 +0100
+++ glibc-2.22/debian/debhelper.in/libc-dev.install 2015-12-02 17:44:23.986900216 +0100
@@ -8,6 +8,7 @@
TMPDIR/LIBDIR/libieee.a LIBDIR
TMPDIR/LIBDIR/libm.a LIBDIR
TMPDIR/LIBDIR/libmcheck.a LIBDIR
+TMPDIR/LIBDIR/libmvec_nonshared.a LIBDIR
TMPDIR/LIBDIR/libnsl.a LIBDIR
TMPDIR/LIBDIR/libpthread.a LIBDIR
TMPDIR/LIBDIR/libpthread_nonshared.a LIBDIR
--- glibc-2.22.orig/math/Makefile
+++ glibc-2.22/math/Makefile
@@ -98,7 +98,7 @@ $(inst_libdir)/libm.so: $(common-objpfx)
(echo '/* GNU ld script'; echo '*/';\
cat $<; \
echo 'GROUP ( $(slibdir)/libm.so$(libm.so-version) ' \
- 'AS_NEEDED ( $(slibdir)/libmvec_nonshared.a $(slibdir)/libmvec.so$(libmvec.so-version) ) )' \
+ 'AS_NEEDED ( $(libdir)/libmvec_nonshared.a $(slibdir)/libmvec.so$(libmvec.so-version) ) )' \
) > $@
endif
Reply to: