R_PPC_REL24 bugs in glibc 2.2.x

Geoff Keating geoffk@geoffk.org
Mon Jun 25 15:06:00 GMT 2001


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



More information about the Libc-alpha mailing list