ffmpeg-debian debug packages, -fpic, unstripped libraries

Andres Mejia mcitadel at gmail.com
Mon May 11 07:23:51 UTC 2009


On Sunday 10 May 2009 14:13:49 Reinhard Tartler wrote:
> Loïc Minier <lool at dooz.org> writes:
> > On Sun, May 10, 2009, Andres Mejia wrote:
> >> Currently the debugging symbols for all ffmpeg packages are in a
> >> single package, ffmpeg-dbg. I think this should be split for each
> >> library and binaries, i.e.  'libavcodec52-dbg', 'libavformat52-dbg',
> >> etc. I can of course make the changes, but it will require
> >> ffmpeg-debian to enter NEW again. What do you think?
> >
> >  I disagree; -dbg packages are a pollution in the list of packages
> >  (which grows larger and larger) and I don't think it's an issue when
> >  they are very large as they are only used for debug.
> >
> >> Also, I've been working on getting ffmpeg to build with '-fPIC -DPIC'
> >> enabled. I have a patch ready and I'm testing it right now. I'll push
> >> the changes in a moment.
> >
> >  What are you trying to fix?  -fPIC -DPIC should be set automatically
> >  on platforms which require it (e.g. x86_64) and is allowed on i386
> >  for performance reasons; I wouldn't want to change that unless
> >  there's a good rationale for it.
>
> Yes, I agree with Loïc.
>
> Andres, please do not set -fPIC -DPIC on i386. The upstream configure
> script already detects on what architecture that is needed and set it
> there. We do not need to mess around here. If you encounter real bugs,
> the configure script should be fixed.
>
> seriously, I've been discussing this in detail with upstream and have
> gotten bugs fixed, e.g. on mips. There is really no need messing around
> with this in the debian package.
>
> As for the lintian warning, I think an override would be sufficient, but
> I haven't cared so far about that.

Ok then. Just for the record, I wanted to fix the FTBFS issue on i386 with -fPIC 
enabled. That's the reason for the 'fpic-ftbfs-fix.patch' that you'll now see in 
git.

With the other patches, I was making changes so that lintian, and also scanelf 
would produce no messages, thus indicating there is no non-PIC code in the 
libraries. I've succeeded with libpostproc (it just stops using MANGLE). The 
others would require more work.

-- 
Regards,
Andres
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090511/81e3200a/attachment.pgp>


More information about the pkg-multimedia-maintainers mailing list