Bug#493705: libswscale0: The library has text relocations

Reinhard Tartler siretart at tauware.de
Mon Aug 4 12:34:09 UTC 2008


Russell Coker <russell at coker.com.au> writes:

> The following patch fixes this.

Are you sure that this is the only occurence of text relocations? TBH, I
doubt that. I acknowledge that text relocations are a resonable concern,
but the patch does not directly address them. It is not clear where the
textrelocation actually happens, and for what purpose.

A more maintainable approach to this matter would probably be to add
--disable-mmx to ffmpeg's configure flags, which would in turn disable
any usage of MMX code.

As for the PIC/PIE discussion: Upstream is deliberatly compiling the
code with PIC on i386, and maintains a list of architectures that
require PIC to build shared objects. This is done for performance
reasons. Now security is of course another interesting concern.

TBH, If at all, we could build another variant of ffmpeg library
packages like libavcodec-security or something. However given the
current complexity of the ffmpeg package, I'm not that keen on
implementing and maintaining this.

All in all, I think this needs seriously more thought. The proposed
patch is certainly not suitable for inclusion upstream, since it just
disables handwritten optimized coded and as such I'm not willing to
maintain that patch in the debian package.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4





More information about the pkg-multimedia-maintainers mailing list