[MPlayer-dev-eng] libdha vs PIC
Diego Biurrun
diego at biurrun.de
Sun Oct 15 18:46:07 CEST 2006
On Sun, Oct 15, 2006 at 05:46:22PM +0200, Diego Biurrun wrote:
> I'm checking a few Debian issues, the most important is lintian - the
> Debian package check program - complaining that lidha contains non-PIC
> code:
>
> E: mplayer: shlib-with-non-pic-code usr/lib/libdha.so.1.0
>
> However, -fPIC is part of the CFLAGS of libdha when creating object
> files already .. If I add -fPIC to the shared library building step
> nothing changes and commenting out all assembler references from the
> code does not help either.
OK, I was just being blind as a mole, OPTFLAGS contains -fno-PIC, which
overrides -fPIC.
I'm not sure what the desired behavior is here. Should libdha be
compiled with PIC or not? What about shared libraries in general?
Diego
More information about the MPlayer-dev-eng
mailing list