static linking libc.
norman.feske at ...1...
Thu Mar 28 08:14:30 CET 2013
> I have a problem with all my threads in a multi-threaded program
> dead-locking on some (cancelable) lock in ld.lib.so. At this point it
I wonder if this problem may be related to an issue that was recently fixed:
The symptom was a deadlock in the cxx library that occurred when an
exception was thrown during a memory allocation. See the comment in the
commit for more details.
> is difficult to tell what is happening. Is there a way to force libc to
> link statically?
Generally, this is possible by removing the 'SHARED_LIB = yes'
declaration from the respective build-description file. In your case,
that would be 'libports/lib/mk/libc.mk'.
Dr.-Ing. Norman Feske
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
More information about the users