[uClibc]Dynamic loading on PPC

David Schleef ds at schleef.org
Mon Jun 10 18:52:14 UTC 2002


On Sun, Jun 09, 2002 at 03:24:10PM -0700, Erik Walthinsen wrote:
> I've been trying to build Python and other things that use dynamic
> loading, using a Mac to 'cross' build for the Musenki M-1.  Problem is,
> every time anything tries to load a .so, it segfaults.  If this is a known
> problem, is there an ETA for its fix?  If not, what's the best way to go
> about debugging it?  Building GDB for the thing is not something I'd
> really want to tackle, but it isn't impossible.

Are you using uClibc from CVS?  There a few known problems with
building non-uClibc shared libraries with the release, since there
was a stray R_PPC_REL24 reloc in crt0.o.  Uclibc's ld.so now
enforces that shared libs have no improper relocations on ppc.

Otherwise, you can check that ld.so is really the problem by
substituting glibc's ld.so.  If it is a problem, there's a
#define somewhere to enable debugging output in ld.so.



dave...




More information about the uClibc mailing list