This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: R_PPC_REL24 bugs in glibc 2.2.x


On Mon, Jun 25, Geoff Keating wrote:

> > Date: Mon, 25 Jun 2001 22:45:45 +0200
> > From: Olaf Hering <olh@suse.de>
> 
> > /opt/kde2/bin/kmail: error while loading shared libraries:
> > /usr/X11R6/lib/libXft.so.1: R_PPC_REL24 relocation at 0x0012ad38 for
> > symbol `c' out of range
> > 
> > 
> > Any ideas how to fix that? I was told it is a compiler bug, but it
> > happens also with the latest version so I guess the dynamic linker is
> > buggy on ppc.
> 
> Most likely, you didn't compile the library with -fpic (or -fPIC).
> There should not be a R_PPC_REL24 reloc in a shared library compiled
> with -fpic, and libraries not compiled with -fpic or -fPIC are not
> guaranteed to work.

I checked the build logs and it seems that every used package has -fPIC
in the compile options and I found no -fpic. libXft.so it self is
compiled with -fPIC. It seems that only kmail has that reloc error (I
didnt check every single kde app yet :)).
Our sources should be clean in that respect, we added -fPIC to all
packages. 
I will recheck the logs again, maybe I missed something.



Gruss Olaf

-- 
 $ man clone

BUGS
       Main feature not yet implemented...


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