Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2006 13:36:59 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Wesley Morgan <morganw@chemikals.org>
Cc:        current@freebsd.org
Subject:   Re: libpthread shared library version number
Message-ID:  <Pine.GSO.4.64.0611021334340.13428@sea.ntplx.net>
In-Reply-To: <20061102130420.B90169@volatile.chemikals.org>
References:  <454936CA.6060308@FreeBSD.org> <Pine.GSO.4.64.0611011935540.9245@sea.ntplx.net> <20061101200949.2d21ace0@kan.dnsalias.net> <20061102080524.R80586@volatile.chemikals.org> <20061102081122.2c99552f@kan.dnsalias.net> <Pine.GSO.4.64.0611020828130.12236@sea.ntplx.net> <20061102130420.B90169@volatile.chemikals.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Nov 2006, Wesley Morgan wrote:

> On Thu, 2 Nov 2006, Daniel Eischen wrote:
>
>> 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.
>
> My original report was here:
>
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=353076+0+archive/2006/freebsd-current/20060806.freebsd-current
>
> I swapped a few e-mails with Maxime Henrion, but the gist of things was that 
> after enabling symbol versioning, I immediately rebuilt everything -- world, 
> ports, kernel. The random crashes I experienced were most apparent with two 
> applications, csup and games/uqm from ports. Xorg would also crash every now 
> and then... An example of what gdb showed me is:

Well, libthr obviously wouldn't have worked.  I have multiple systems
running with symbol versioning, all have Xorg & KDE, and haven't had
any problems.  I don't use csup or uqm.

You're not running with any patches to rtld (to get Flash to work)
are you?

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0611021334340.13428>