How do you debug X86_64 relocation errors

Mike Frysinger vapier@gentoo.org
Sun Aug 21 01:53:00 GMT 2005


On Saturday 20 August 2005 02:50 pm, 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.

you showed x264.o was built as PIC but was dct-a.o ?
-mike



More information about the Binutils mailing list