[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: prelink does not work correctly on powerpc

On Tue, 2003-10-14 at 10:49, Guido Guenther wrote:
> On Sat, Oct 11, 2003 at 11:45:32PM +0200, Michel Dänzer wrote:
> > On Sat, 2003-10-11 at 23:13, Andrés Roldán wrote:
> > > 
> > > R_PPC_REL24 relocation can show only in non-pic shared libraries on PPC,
> > > which is a bad idea on all platforms (some don't allow it at all even).
> > 
> > Indeed. This was my first suspicion, but I got confused in the meantime.
> > Guido, please make sure all code which ends up in
> > /usr/lib/libavcodec.so.0.4.8 is compiled with -fPIC.
> I recompiled with -DPIC -fPIC now. I'd be glad to hear if this solves
> the problem. Updated packages are at:
>  deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/


objdump -R /usr/lib/libavcodec-0.4.8.so|grep R_PPC_REL24

shows, it's fine now, thanks. BTW, this isn't a PPC specific problem,
there's a reason why Debian policy mandates that shared libraries
consist entirely of -fPIC code: they break otherwise on pretty much
anything but i386.

Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer

Reply to: