[vlc-devel] X265 contrib link error against master generation

Sean McGovern gseanmcg at gmail.com
Sat Sep 30 12:12:11 CEST 2017

Hi Gilles,

On Sat, Sep 30, 2017 at 2:45 AM, Gilles Sabourin
<gilles.sabourin at free.fr> wrote:
> Hello team,
> Shortly after the beginning, vlc master compilation is failing with this link
> error:
> /usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: /usr/
> src/packages/BUILD/vlc-beta-3.0.0/contrib/x86_64-suse-linux/lib/libx265.a(cpu-
> a.asm.o): relocation R_X86_64_PC32 against symbol
> `x265_intel_cpu_indicator_init' can not be used when making a shared object;
> recompile with -fPIC
> /usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: final
> link failed: Bad value
> collect2: error: ld returned 1 exit status
> Makefile:16940: recipe for target 'libx265_plugin.la' failed
> make[4]: *** [libx265_plugin.la] Error 1
> X265 contrib itself compile well : no error.
> The issue has been here for more then 7 days, this was the case, last 23rd.

I have seen the same issue.

It has been this way for much longer than 7 days. I've resorted to
using the x265 package from my distribution.

I suspect that x265_intel_cpu_indicator_init() is not supposed to be
externally visible -- it's not in the API.

-- Sean McG.

More information about the vlc-devel mailing list