tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xine-lib vs. new binutils



On Mon, Mar 07, 2016 at 09:47:47AM +0100, Martin Husemann wrote:
> On Mon, Mar 07, 2016 at 08:50:53AM +0100, Thomas Klausner wrote:
> > ld: .libs/xine.o: relocation R_X86_64_PC32 against protected symbol `_x_flags' can not be used when making a shared object
> > ld: final link failed: Bad value
> 
> Besides possible bugs in binutils, something simple that could cause it
> is missing -fpic/-fPIC (or using the former when the lib has grown and
> now needs -fPIC).

New binutils reject variouos relocations against protected symbols, even
in PIC code. It is absolute not about how the code is built.

Joerg


Home | Main Index | Thread Index | Old Index