How do you debug X86_64 relocation errors
Sun Aug 21 19:04:00 GMT 2005
Mike Frysinger wrote:
> On Saturday 20 August 2005 02:50 pm, sean wrote:
>>Mike Frysinger wrote:
>>>On Friday 19 August 2005 10:58 pm, sean wrote:
> you showed x264.o was built as PIC but was dct-a.o ?
Excellent. It was built with yasm - nasm extended for X86_64:
yasm -f elf -m amd64 -o common/amd64/dct-a.o
Sadly it won't build with as.
FYI i sent to the yasm-devel list:
I'm trying to link x264 with ffmpeg on an amd64. x264 uses
some of its core routines. I've built x264 with -fPIC for
and -m amd64 for yasm.
yasm -f elf -m amd64 -m amd64 -o common/amd64/dct-a.o
Yet when ffmpeg tries to link with x264 I get:
relocation R_X86_64_32 against `a local symbol' can not be
making a shared object; recompile with -fPIC
could not read symbols: Bad value
Is there some other command line switch needed for yasm?
rpm -q binutils
More information about the Binutils