[vlc-devel] Contribs, PIC and x86_64
remi at remlab.net
Mon May 4 12:21:49 CEST 2009
On Mon, 4 May 2009 12:03:48 +0200, Pierre Ynard <linkfanel at yahoo.fr> wrote:
> I'm currently working on my Linux x86_64 system to build a few libraries
> from the contribs (that are not provided by/too old in my distribution).
> The problem is that they are not compiled as PIC, and then linking
> the vlc modules against them throws "relocation R_X86_64_PC32" errors
> (whereas the same works fine for me on x86_32).
> Since it looks like a pretty specific issue, and I'm pretty clueless
> about it, I'm going to ask: do we want PIC code?
Yes, we want PIC code. With the exception of toolchain stuff, the contrib
is used to link with either the libvlc run-time, or plugins. Either way,
position independence is required, even if the contrib library is
statically linked into VLC.
> On what platforms?
> What config flag can/should I use to fix it?
It should be automatic, as PDC is totally useless.
More information about the vlc-devel