Page 1 of 1

ppu-gdb not working on YDL6.1

PostPosted: 03 Nov 2009, 11:02
by CoenTempelaars
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)

Re: ppu-gdb not working on YDL6.1

PostPosted: 03 Nov 2009, 13:10
by billb
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

Re: ppu-gdb not working on YDL6.1

PostPosted: 03 Nov 2009, 14:31
by CoenTempelaars
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!

Re: ppu-gdb not working on YDL6.1

PostPosted: 03 Nov 2009, 17:00
by billb
Oh... I wasn't awake yet. :P It's in updates for YDL 6.1:

http://ydl.oregonstate.edu/yum/6.1/updates/RPMS/