backing to 5.2.1, problem with threading and "cxa_atexit"

Palle Girgensohn girgen at
Tue Apr 13 03:08:13 PDT 2004

--On tisdag, april 13, 2004 11.05.48 +0200 Kirill Ponomarew 
<krion at> wrote:

> Hi,
> On Mon, Apr 12, 2004 at 05:12:14AM +0200, Palle Girgensohn wrote:
>> I though I would back my system to RELENG_5.2, as I more or less
>> acidentally installed a current :-)=  (Clever, he? :^)
>> So, now many apps fail since the symbol "__cxa_atexit" cannot be found.
>> I  recon it is in libpthread in current, but wasn't there at 5.2.1,
>> right?
>> Question is, do I have to rebuild all apps (or go back to current), or
>> can  I do some libmap.conf magic? Just checking with nm -D in /usr/lib,
>> I cannot  find the symbol defined anywhere for 5.2.1?
> If you want to use libpthread which is now default threads
> library on -current, you should rebuild all apps, which are
> linked with libc_r
> In another case you can modify /etc/libmap.conf to use further
> libc_r, read /usr/src/UPDATING

Thanks for the input. After reinstalling -current, I found __cxa_atexit in 
libc, not _r, so I guess I have to rebuild at least all apps utilizing this 
method anyhow. My problem is probably not pthread/libc_r related, I guess?


More information about the freebsd-current mailing list