Bug#528080: ffmpeg-debian: ffmpeg still has shlib-with-non-pic-code lintian errors
mcitadel at gmail.com
Mon May 11 00:16:33 UTC 2009
On Sunday 10 May 2009 16:15:48 Reinhard Tartler wrote:
> Andres Mejia <mcitadel at gmail.com> writes:
> > ffmpeg still gets these 'shlib-with-non-pic-code' lintian errors,
> > although the package is build with '-fPIC -DPIC' as required by policy.
> policy does not require it, but rather strongly recommends it. In ffmpeg
> there is a good argument for *not* following that suggestion.
Well policy has a must directive for shared libraries. It says "must have -
fPIC". From what I understood, it was for static libraries
> > The patch I've committed to git reduced the amount of these errors from
> > 14 to 6. More work needs to be done to find the remaining places which
> > causes these TEXTRELs to appear in the resulting binaries. Any help is
> > welcome.
> What problem are you trying to fix? Please revert that change, we need
> further discussion on that.
I was first fixing the issue that ffmpeg wouldn't build without -fPIC enabled. I've
since fixed that and now I'm just trying to fix all issues with non-PIC code
remaining in the shared libraries. Using scanelf from pax-utils, I've found that
all the TEXTREL issues that appear are from absolute memory references, and they
all come from the inline assembly found in the source of various files. I'm
currently trying to resolve what I can.
I've succeeded in resolving all issues found with libpostproc. All of them were
from the use of MANGLE. I'll push this change.
I'll later push a change to not enable -fPIC, so we may discuss this further.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the pkg-multimedia-maintainers