Skip to main content

developerWorks >  Power Architecture  >  Forums  >  Cell Broadband Engine Architecture forum  >  developerWorks

SystemSim 3.1 ppu-gdb and spu-gdb not working    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
This question is not answered.

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 9, 2009 8:42 AM Last Post By: mkistler
CoenTempelaars

Posts: 2
Registered: Oct 08, 2009 04:30:28 AM
SystemSim 3.1 ppu-gdb and spu-gdb not working
Posted: Oct 08, 2009 05:17:57 AM
 
Click to report abuse...   Click to reply to this thread Reply
Hi all,

I've just installed the IBM Cell SDK and Full System Simulator (SystemSim) on Ubuntu 8.10 and things seem to be working. I can compile programs that use both the PPU and the SPUs. Running these programs in the newest SystemSim from alphaworks also works, the output is correct.

However there are two things not working in the SystemSim after a fresh installation: ppu-gdb and spu-gdb.

spu-gdb complains that it cannot load libexpat.so.0
This can be resolved by installing the expat-devel rpms for Fedora 9, PPC and PPC64. Afterwards a symlink needs to be created:
  1. ln -s /usr/lib/libexpat.so /usr/lib/libexpat.so.0
Now spu-gdb works.

ppu-gdb complains that it cannot load libncurses.so.5, however, this file is present in /lib

I've tried installing the ncurses-libs, ncurses-devel, compat-expat1 rpms for Fedora 9, PPC and PPC64. I've tried several different symlinks... Still, it cannot load libncurses.so.5...

Does anyone experience the same error, or am I the only one?
Anyone got any ideas how to fix this?
IBM employee or contractor CellServ

Posts: 1,346
Registered: Jul 17, 2006 06:15:39 PM
Re: SystemSim 3.1 ppu-gdb and spu-gdb not working
Posted: Oct 28, 2009 03:25:47 PM   in response to: CoenTempelaars in response to: CoenTempelaars's post
 
Click to report abuse...   Click to reply to this thread Reply
Do an ldd on ppu-gdb and post what the screen shows here please.

--
IBM SDK Service Administrator
CoenTempelaars

Posts: 2
Registered: Oct 08, 2009 04:30:28 AM
Re: SystemSim 3.1 ppu-gdb and spu-gdb not working
Posted: Nov 09, 2009 08:05:56 AM   in response to: CoenTempelaars in response to: CoenTempelaars's post
 
Click to report abuse...   Click to reply to this thread Reply
On a fresh copy of SystemSim 3.1, with these two RPMs installed:
  • expat-devel-2.0.1-5.ppc.rpm (for /usr/lib/libexpat.so)
  • compat-expat1-1.95.8-4.ppc64.rpm (for /usr/lib64/libexpat.so.0)

This is the output of ldd:
[root@(none) fedora9]# ldd /usr/bin/ppu-gdb
	linux-vdso64.so.1 =>  (0x0000000000100000)
	libncurses.so.5 => not found
	libz.so.1 => /lib64/libz.so.1 (0x0000040000060000)
	libm.so.6 => /lib64/libm.so.6 (0x0000040000090000)
	libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x0000040000170000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00000400001c0000)
	libc.so.6 => /lib64/libc.so.6 (0x00000400001f0000)
	/lib64/ld64.so.1 (0x0000040000000000)
[root@(none) fedora9]#


After some trial and error, I still don't know how to install the FC9 PPC64 version of libncurses...
mkistler

Posts: 538
Registered: Nov 04, 2005 02:29:23 PM
Re: SystemSim 3.1 ppu-gdb and spu-gdb not working
Posted: Nov 09, 2009 08:42:23 AM   in response to: CoenTempelaars in response to: CoenTempelaars's post
 
Click to report abuse...   Click to reply to this thread Reply
Based what I see on my system, you need to install ncurses-libs-5.6-16.20080301.fc9.ppc64.

mkistler@arlz184 /usr/bin>rpm -q -f /lib64/libncurses.so.5
ncurses-libs-5.6-16.20080301.fc9.ppc64
mkistler@arlz184 /usr/bin>

Mike
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums