[vlc-devel] contribs issues in Linux 64 bits architecture /2

Gilles Sabourin gilles.sabourin at free.fr
Wed May 28 15:12:52 CEST 2014

Le mercredi 28 mai 2014, 12:47:35 Ilkka Ollakka a écrit :
> On Wed, May 28, 2014 at 04:51:30PM +0800, Rémi Denis-Courmont wrote:
> > Le 2014-05-28 16:09, Gilles Sabourin a écrit :
> > >Suse team may have modified the toolchain to be consistent with the
> > >filesystem's organization, but that's true that any filesystem's
> > >evolution is slow and heavy inside the distro.
> > 
> > I'd still like to know where the value comes from. If SuSE patched
> > the toolchain, I'd it's entirely their fault and screw them. If it
> > comes from the site configuration, it is more debatable.
> Actually in suse packet site-config sets
> CONFIG_SITE="/usr/share/site/x86_64-unknown-linux-gnu" and that script
> sets libdir='${exec_prefix}/lib64' for 64bit hosts.
> So for SuSE unsetting that CONFIG_SITE before fiddling with contribs
> should fix the problem in a work-aroundis way.
> > Perhaps VLC contribs should force include, dataroot and lib
> > directories (back) to the expected (default) values in the
> > $(HOSTCONF) macro.

Thank you Ilkka, that is working on a similar idea, but less intrusive: i've 
changed lib64 to lib in a duplicate site script and made CONFIG_SITE pointing 
on the new script during rpm script execution.

Now, the build phase go further, but stops on this error:
  CCLD     libstream_out_raop_plugin.la
  CC       libstream_out_chromaprint_plugin_la-chromaprint.lo
  CXX      libstream_out_chromaprint_plugin_la-dummy.lo
  CXXLD    libstream_out_chromaprint_plugin.la
linux/lib/libavcodec.a(fft.o): relocation R_X86_64_PC32 against symbol 
`ff_cos_32' can not be used when making a shared object; recompile with -fPIC
final link failed: Bad value
collect2: error: ld returned 1 exit status
make[5]: *** [libstream_out_chromaprint_plugin.la] Error 1

Seems linker cannot deal very well between a static ffmpeg and a shared 
chromaprint object...

Best regards,

More information about the vlc-devel mailing list