ppu-gdb not working on YDL6.1

Discuss software development issues here.

ppu-gdb not working on YDL6.1

Postby CoenTempelaars » 03 Nov 2009, 11:02

I'm running YDL on a PS3 for developing applications that use both the PPU and the SPUs. For debugging, I like to use spu-gdb and ppu-gdb.

spu-gdb works correctly. it depends on expat-devel 1.95.8-8.2.1.ppc which is installed.
ppu-gdb complains that it cannot find the 64-bit library 'libexpat.so.0'

Does anyone know how to install this library? Or does anybody know where to find the expat-devel 1.95.8-8.2.1 ppc64 rpm for YDL 6.1?

Kind regards,
Coen Tempelaars

P.S. maybe this helps:
Code: Select all
[tempelaars@playstation ~]$ ldd /usr/bin/spu-gdb
        linux-vdso32.so.1 =>  (0x00100000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x00840000)
        libz.so.1 => /usr/lib/libz.so.1 (0x0f550000)
        libm.so.6 => /lib/libm.so.6 (0x0f2c0000)
        libexpat.so.0 => /lib/libexpat.so.0 (0x0ef70000)
        libc.so.6 => /lib/libc.so.6 (0x0f3a0000)
        libtinfo.so.5 => /lib/libtinfo.so.5 (0x00810000)
        libdl.so.2 => /lib/libdl.so.2 (0x0f5c0000)
        /lib/ld.so.1 (0x0ffc0000)

[tempelaars@playstation ~]$ ldd /usr/bin/ppu-gdb
        linux-vdso64.so.1 =>  (0x0000000000100000)
        libncurses.so.5 => /lib64/libncurses.so.5 (0x00000080b5860000)
        libz.so.1 => /usr/lib64/libz.so.1 (0x0000040000015000)
        libm.so.6 => /lib64/libm.so.6 (0x00000080b5710000)
        libexpat.so.0 => not found
        libdl.so.2 => /lib64/libdl.so.2 (0x00000080b5830000)
        libc.so.6 => /lib64/libc.so.6 (0x00000080b5560000)
        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00000080b57f0000)
        /lib64/ld64.so.1 (0x00000080b5510000)
CoenTempelaars
ydl newbie
ydl newbie
 
Posts: 2
Joined: 03 Nov 2009, 10:52

Re: ppu-gdb not working on YDL6.1

Postby billb » 03 Nov 2009, 13:10

It looks like it's included in yellowdog-base:

http://ydl.oregonstate.edu/yum/6.2/base/RPMS/
[ ] expat-1.95.8-8.2.1.ppc.rpm 05-Jun-2009 17:58 83K
[ ] expat-1.95.8-8.2.1.ppc64.rpm 08-Jun-2009 16:08 85K
[ ] expat-devel-1.95.8-8.2.1.ppc.rpm 05-Jun-2009 17:58 138K
[ ] expat-devel-1.95.8-8.2.1.ppc64.rpm 08-Jun-2009 16:08 126K
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA

Re: ppu-gdb not working on YDL6.1

Postby CoenTempelaars » 03 Nov 2009, 14:31

Ah, found the source of the problem. I've only looked at the rpm-base of YDL6.1
I've installed expat-1.95.8-8.2.1.ppc64.rpm. Now ppu-gdb works like a charm.

Thanks!
CoenTempelaars
ydl newbie
ydl newbie
 
Posts: 2
Joined: 03 Nov 2009, 10:52

Re: ppu-gdb not working on YDL6.1

Postby billb » 03 Nov 2009, 17:00

Oh... I wasn't awake yet. :P It's in updates for YDL 6.1:

http://ydl.oregonstate.edu/yum/6.1/updates/RPMS/
PS3 60GB [CECHA01], FW 3.15, YDL 6.2, Samsung T260HD @ 1920x1200
Powermac G4 1.25 GHz x2, 2 GB RAM, YDL 6.2
User avatar
billb
Site Admin
Site Admin
 
Posts: 5522
Joined: 24 May 2007, 20:30
Location: Eastern NC, USA


Return to Software Development

Who is online

Users browsing this forum: No registered users and 3 guests

cron