Bug#832555: lintian: false shlib-with-non-pic-code
Package: lintian
Version: 2.5.45
Severity: normal
Hi,
libdv 1.0.0-11 has:
libdv4
E shlib-with-non-pic-code
usr/lib/i386-linux-gnu/libdv.so.4.0.3
Here[0] is said:
To check whether a shared library has this problem,
run readelf -d on the shared library. If a tag of
type TEXTREL is present, the shared library contains
non-PIC code.
[0] - https://lintian.debian.org/tags/shlib-with-non-pic-code.html
What I have running 'readelf -d libdv.so.4.0.3':
Dynamic section at offset 0x1a990 contains 25 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [libdv.so.4]
0x000000000000000c (INIT) 0x3cc0
0x000000000000000d (FINI) 0x1667c
0x0000000000000019 (INIT_ARRAY) 0x21a970
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x21a978
0x000000000000001c (FINI_ARRAYSZ) 16 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x1f0
0x0000000000000005 (STRTAB) 0x1ba8
0x0000000000000006 (SYMTAB) 0x738
0x000000000000000a (STRSZ) 3594 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x21ab60
0x0000000000000007 (RELA) 0x2bf8
0x0000000000000008 (RELASZ) 4296 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x0000000000000018 (BIND_NOW)
0x000000006ffffffb (FLAGS_1) Flags: NOW
0x000000006ffffffe (VERNEED) 0x2b68
0x000000006fffffff (VERNEEDNUM) 2
0x000000006ffffff0 (VERSYM) 0x29b2
0x000000006ffffff9 (RELACOUNT) 28
0x0000000000000000 (NULL) 0x0
ii libdv4:amd64 1.0.0-11 amd64 software library for DV format digital video (runtime lib)
regards,
Herbert
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lintian depends on:
ii binutils 2.26.1-1
ii bzip2 1.0.6-8
ii diffstat 1.61-1
ii file 1:5.28-2
ii gettext 0.19.8.1-1
ii hardening-includes 2.8+nmu2
ii intltool-debian 0.35.0+20060710.4
ii libapt-pkg-perl 0.1.29+b5
ii libarchive-zip-perl 1.57-1
ii libclass-accessor-perl 0.34-1
ii libclone-perl 0.38-2
ii libdata-alias-perl 1.20-1+b1
ii libdpkg-perl 1.18.9
ii libemail-valid-perl 1.200-1
ii libfile-basedir-perl 0.07-1
ii libipc-run-perl 0.94-1
ii liblist-moreutils-perl 0.416-1
ii libparse-debianchangelog-perl 1.2.0-10
ii libperl5.22 [libdigest-sha-perl] 5.22.2-2
ii libtext-levenshtein-perl 0.13-1
ii libtimedate-perl 2.3000-2
ii liburi-perl 1.71-1
ii libyaml-libyaml-perl 0.41-6+b1
ii man-db 2.7.5-1
ii patchutils 0.3.4-1
ii perl 5.22.2-2
ii t1utils 1.39-2
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages lintian recommends:
ii dpkg 1.18.9
ii libperlio-gzip-perl 0.19-1+b1
ii perl 5.22.2-2
ii perl-modules-5.22 [libautodie-perl] 5.22.2-2
Versions of packages lintian suggests:
pn binutils-multiarch <none>
ii dpkg-dev 1.18.9
ii libhtml-parser-perl 3.72-2
ii libtext-template-perl 1.46-1
-- no debconf information
Reply to: