[Cbe-oss-dev] Memalign and free doesn't work

Akira Tsukamoto akirat at rd.scei.sony.co.jp
Wed Oct 14 13:49:04 EST 2009


Hi all,

How can I explain.

The libc for SPE on Cell/B.E. is not using regular glibc, instead it is 
using newlib.
http://sourceware.org/newlib/

The glibc works with the combination of memalign() and free() but
SPE does not use glibc.
On the newlib, I always used combination of malloc_align() and 
free_align().

> I tried to get malloc_align and free_align to work but
> I couldn't get the libmisc.a library to be used by my program.

What kind of trouble you had with libmisc.a?

Akira

-- 
Akira Tsukamoto
Sony Computer Entertainment Inc. 
Architecture Lab.
Japan



More information about the cbe-oss-dev mailing list