How do you debug X86_64 relocation errors

H. J. Lu hjl@lucon.org
Sat Aug 20 19:06:00 GMT 2005


On Sat, Aug 20, 2005 at 02:50:08PM -0400, sean wrote:
> Mike Frysinger wrote:
> >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
> >
>  No. I understood that. I DID build x264 with -fPIC. I've 
> put -fPIC all over the place.

Please try the current Linux binutils from www.kernel.org. If it still
fails, please open a bug report with a small testcase.


H.J.



More information about the Binutils mailing list