[th] uClibc @ ppc

Paweł Sikora pluto at agmk.net
Wed May 31 23:02:27 CEST 2006


On Tuesday 30 May 2006 20:02, Przemek Iskra wrote:
> On Tue, May 30, 2006 at 01:59:57PM +0200, Paweł Sikora wrote:
> > GNU ld version 2.17.50.0.1 20060427
> >   Supported emulations:
> >    elf32ppclinux
> >    elf32ppc
> >    elf32ppcsim
> >
> > R_PPC_REL24: Compile shared libraries with -fPIC!
> > ./a.out: symbol '__syscall_error': can't handle reloc type 0xa
>
> it looks like toolchain-wrapper error
> in th consider using uClibc from DEVEL branch, toolchain hasn't changed,
> but at last statycally linked programs work on ppc (i'm using it in
> PPCRCD and i have no problems)

uclibc at devel is broken. toolchain generates wrong .interp sections
(missed slash in path).

Contents of section .interp:
 10000114 2f757372 2f707063 2d6c696e 75782d75  /usr/ppc-linux-u
 10000124 636c6962 636c6962 2f6c642d 75436c69  clibclib/ld-uCli
 10000134 62632e73 6f2e3000                    bc.so.0.


More information about the pld-devel-en mailing list