Bug#809501: mklibs-copy: crashes on static binaries

2016-09-30 Thread Cyril Brulebois
Samuel Thibault (2015-12-31): > Samuel Thibault, on Thu 31 Dec 2015 14:55:50 +0100, wrote: > > 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. > > Actually mklibs-copy already filters out non-elf in > >

Bug#809501: mklibs-copy: crashes on static binaries

2015-12-31 Thread Samuel Thibault
Samuel Thibault, on Thu 31 Dec 2015 14:55:50 +0100, wrote: > 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. Actually mklibs-copy already filters out non-elf in for prog in proglist: Either it should filt

Bug#809501: mklibs-copy: crashes on static binaries

2015-12-31 Thread Samuel Thibault
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 $