[Cbe-oss-dev] MARS build help request...

Neil Costigan neil.costigan at computing.dcu.ie
Fri Aug 15 04:31:48 EST 2008


Hi All

New to the list and I have some build problem with MARS.
More correctly. MARS builds but the test and sample suite build fails.

I can make and install the lib  (involved one file copy of xlc's 
ppu_intrinics.h to a visible include directory)

however when I build the test suite I get link errors...

[root at localhost queue_test_1]# make
spu-gcc -Wall -O3 -funroll-loops -o mpu_task.o mpu_task.c -lmars -Wl,-N 
-Wl,-gc-sections -Wl,--section-start,.init=0x10000 
-Wl,--entry,mars_entry -Wl,-u,mars_entry
ppu-embedspu  -Wall -O3 -funroll-loops task_spe_prog mpu_task.o mpu_task.eo
ppu-gcc  -Wall -O3 -funroll-loops -c -o host.o host.c
ppu-gcc  -Wall -O3 -funroll-loops -o queue_test_1 mpu_task.eo host.o 
-lspe2 -lmars
/usr/lib/gcc/ppu/4.1.1/../../../../lib64/libmars.so: undefined reference 
to `__lwsync'
/usr/lib/gcc/ppu/4.1.1/../../../../lib64/libmars.so: undefined reference 
to `__isync'
/usr/lib/gcc/ppu/4.1.1/../../../../lib64/libmars.so: undefined reference 
to `__stwcx'
/usr/lib/gcc/ppu/4.1.1/../../../../lib64/libmars.so: undefined reference 
to `__lwarx'

I'm building on
linux 2.6.25-rc4
This is Fedora core 7 on a PS3 with latest Cell SDK and a hand rolled
kernel.

MARS src is from the ftp
ftp://ftp.infradead.org/pub/Sony-PS3/mars

Anyone any idea of where I am going wrong ?


It is my intention to try an SPU optimised OpenSSL RSA engine to MARS.


thank you in advance for any help

-Neil Costigan



More information about the cbe-oss-dev mailing list