How do you debug X86_64 relocation errors

Mike Frysinger vapier@gentoo.org
Sat Aug 20 03:24:00 GMT 2005


On Friday 19 August 2005 10:58 pm, sean wrote:
> I'm trying to build ffmpeg on amd64, which has a x264
> plugin. I built x264 with -fPIC which gives x264.a (dunno
> why the devs only want a static lib).
>
> <snip>
>
> I've strewn -fPIC's all over the place. What else do you
> look for?

it doesnt matter if you build ffmpeg with -fPIC ... as the error message 
indicates, the object files in libx264.a need to be built as PIC
-mike



More information about the Binutils mailing list