This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do you debug X86_64 relocation errors


On Sat, Aug 20, 2005 at 09:36:16PM -0400, sean wrote:
> H. J. Lu wrote:
> >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.
> >
> 
> I'm running fc4, which I've upgraded from rawhide.
> 
>  rpm -q binutils
> binutils-2.16.91.0.2-4
> 
> As far as I can see that's the latest from kernel.org.
> 
> If I were really good at this, I could generate a small test 
> case, but ...

If you believe you did everything right, please open a bug report at

http://www.sourceware.org/bugzilla/

with as much information as you can. We will go from there.



H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]