FW: Flat shared libs, C++, pthreads
Robin Getz
rgetz at blackfin.uclinux.org
Mon Nov 14 20:51:28 UTC 2005
I thought I would check here, incase someone has some thoughts, or pointers:
Bernd Schmidt wrote on the uclinux-dev mailing list:
>I'm trying to figure out how to make flat shared libraries work reliably
>with C++ and pthreads (on the Blackfin).
>
>As fare as I can see, the dependency graph between shared libraries must
>be a DAG, but we have a cyclic dependency: libgcc -> libpthread -> libc ->
>libgcc. I'm trying to solve this by putting all three pieces into a
>single shared library. To do this, I need to remove some duplication
>between uClibc and linuxthreads; in some cases they define their own
>non-weak versions of the same function.
>
>Any comments on this approach, and on the patch below? (The patch is
>against our local CVS, but we've merged from the uClinux tree relatively
>recently).
>
>Bernd
Patch is at:
http://mailman.uclinux.org/pipermail/uclinux-dev/2005-November/035386.html
Thanks
=-Robin
More information about the uClibc
mailing list