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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]