Bug#809501: mklibs-copy: crashes on static binaries
Package: mklibs-copy
Version: 0.1.40+b1
Severity: important
Hello,
I just tried to build a d-i image, but got:
Bus error
Command failed with status 135 : mklibs-readelf -R ./tmp/netboot-gtk/tree/sbin/blkid
And indeed,
$ cat > test.c << EOF
int main(void) {}
EOF
$ gcc test.c -o test -static
$ mklibs-readelf -R test
bus error mklibs-readelf -R test
I agree that running mklibs-readelf -R on a static elf file is a bit
odd, but it makes sense when e.g. running over a bunch of elf files.
Samuel
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mklibs-copy depends on:
ii dpkg-dev 1.18.3
ii libc6 2.21-6
ii libgcc1 1:6-20151211-1
ii libstdc++6 5.3.1-4
ii python 2.7.11-1
pn python:any <none>
mklibs-copy recommends no packages.
mklibs-copy suggests no packages.
-- no debconf information
--
Samuel
Les roots ne sont plus ce qu'ils étaient...Maintenant il sont dioxinés,
c'est de la m... ! Avant on les élevaient avec du bon unix mais ça été
remplacé par des farines industrielles nouvelles technologies (NT).
-+- JdK in NPC : Exigez un root élevé sous la mère ! -+-
Reply to: