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

Michael Ellerman michael at ellerman.id.au
Wed Oct 14 09:52:39 EST 2009


On Wed, 2009-10-14 at 09:43 +1100, Jonathan Adamczewski wrote:
> Michael Ellerman wrote:
> > On Wed, 2009-10-14 at 08:57 +1100, Jonathan Adamczewski wrote:
> >> But posix_memalign() is not memalign().
> > 
> > Um yeah I know :)  I meant Phil should try using posix_memalign()
> > instead.
> 
> 
> Ah, I see, sorry :)
> 
> It would appear that posix_memalign() is implemented in terms of
> memalign() in newlib, so I'm not sure that there's much to be gained
> by switching.

OK, in which case it's not POSIX compliant, but that's not necessarily
suprising.

cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/cbe-oss-dev/attachments/20091014/2ee7c3dc/attachment.pgp>


More information about the cbe-oss-dev mailing list