svn commit: trunk/uClibc/libc: inet/rpc stdio stdlib/malloc

Mike Frysinger vapier at gentoo.org
Mon Dec 11 04:27:55 UTC 2006


On Thursday 07 December 2006 18:24, andersen at uclibc.org wrote:
> Log:
> Major cleanup of internal mutex locking.  Be more consistant in how we do
> things, and avoid potential deadlocks caused when a thread holding a uClibc
> internal lock get canceled and terminates without releasing the lock.  This
> change also provides a single place, bits/uClibc_mutex.h, for thread
> libraries to modify to change all instances of internal locking.

somewhere along the line, the "malloc" implementation was broken due to these 
pthread cleanups ... "malloc-standard" and "malloc-simple" seem to be OK

  CC libc/stdlib/malloc/free.os
../../../libc/stdlib/malloc/free.c: In function 'free_to_heap':
../../../libc/stdlib/malloc/free.c:42: error: invalid lvalue in unary '&'
../../../libc/stdlib/malloc/free.c:42: error: invalid lvalue in unary '&'
../../../libc/stdlib/malloc/free.c:52: error: expected expression 
before 'else'
../../../libc/stdlib/malloc/free.c: At top level:
../../../libc/stdlib/malloc/free.c:257: error: expected identifier or '(' 
before 'void'
../../../libc/stdlib/malloc/free.c:258: error: expected identifier or '(' 
before '}' token
make: *** [../../../libc/stdlib/malloc/free.os] Error 1
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20061210/443fe12c/attachment-0002.pgp 


More information about the uClibc mailing list