Bug#493705: libswscale0: The library has text relocations

Loïc Minier lool at dooz.org
Mon Aug 4 13:03:23 UTC 2008

On Mon, Aug 04, 2008, Russell Coker wrote:
> The following command shows that some parts of the library have not been
> comiled with -fpic or -fPIC - in this case it's actually assembly code
> which is not position independent.
> # eu-findtextrel /usr/lib/libswscale.so.0|uniq

 BTW lintian already does this; I don't think you need a custom tool:
    % grep -ir textrel /usr/share/lintian/checks
    /usr/share/lintian/checks/shared-libs:my %TEXTREL;
    /usr/share/lintian/checks/shared-libs:    } elsif (m/^\s*TEXTREL\s/o) {
    /usr/share/lintian/checks/shared-libs:        $TEXTREL{$file} = 1;
    /usr/share/lintian/checks/shared-libs:        if ($cur_file eq $real_file and $TEXTREL{$cur_file}) {

Loïc Minier

More information about the pkg-multimedia-maintainers mailing list