__malloc_lock undefined symbol in ptfork.c
Robert Dodier
robert.dodier at gmail.com
Mon May 7 11:47:24 PDT 2007
Hello,
I am trying to build uClibc for ARM. For the record, I am working
with Buildroot on Gumstix (small computers with Marvell PXA processors).
I am trying to build uClibc-0.9.28.3. The attempt to build
libpthread fails because ptfork.c references __malloc_lock
and that does not appear to be defined anywhere in the
uClibc code. Does anyone know how I can resolve this?
I notice that there are
#warning hack alert
messages just before the references to __malloc_lock.
This suggests to me that there is something not-quite-finished
about these __malloc_lock references. Looking at the svn log
doesn't seem to help; the __malloc_lock stuff seems to have
been introduced in
http://www.uclibc.org/cgi-bin/viewcvs.cgi?rev=17534&view=rev
The comment is only "even more accumulated fixes from trunk";
looking at ptfork.c on the trunk, I don't see the __malloc_lock stuff.
Can I just revert r17534 in ptfork.c ?
Thanks for any light you can shed on these questions.
Robert Dodier
More information about the uClibc
mailing list