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


> 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.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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