libpthread shared library version number

Daniel Eischen deischen at freebsd.org
Thu Nov 2 13:35:06 UTC 2006


On Thu, 2 Nov 2006, Alexander Kabaev wrote:

> On Thu, 2 Nov 2006 08:07:03 -0500 (EST)
> Wesley Morgan <morganw at chemikals.org> wrote:
>
>
>> I encountered (and reported) weird problems with threaded apps when
>> symbol versioning was enabled. The new csup would fail in areas it
>> shouldn't have failed and gdb made it look like some weird stuff was
>> happening concurrently. Turning off symbol versioning solved the
>> problem.
>>
>>
> Could you please report it again? Searching for your name in my inbox
> returns nothing. Your mail either never reached it or you sent the
> report elsewhere and it escaped my attention.

If you are using libthr or libc_r with symbol versioning, then
I don't think it will work correctly without rebuilding world
and all ports.  As an interim solution for testing symbol versioning
without require rebuilding everything under the sun, I added
compatability hacks for symbols in libc that also exist in
libpthread.  See lines 62-95 in src/lib/libpthread/thr/thr_private.h.
This hack should be disabled and removed after bumping shared
libraries and enabling symbol versioning.

-- 
DE


More information about the freebsd-current mailing list