Re: many thread applications are unstable on 7-current

From: Iain Templeton <iain.templeton_at_cisra.canon.com.au>
Date: Tue, 18 Jul 2006 09:39:43 +1000
Norikatsu Shigemura wrote:
> On Mon, 17 Jul 2006 13:09:33 -0400
> John Baldwin <jhb_at_freebsd.org> wrote:
>> On Sunday 16 July 2006 10:23, Norikatsu Shigemura wrote:
>>> 	I think that this is FYI, maybe.  Sorry, I don't know why it causes.
>>> 	I could not trace problems.
>> Does this only happen with libpthread or does it also happen with libthr?
> 
> 	I don't know, because these applications cannot run on libthr
> 	with libpthread.so.2 -> libthr.so.2 in libmap.conf.
> 
>  5 nork_at_nadesico$ firefox
> /libexec/ld-elf.so.1: /usr/lib/libthr.so.2: Undefined symbol "thr_getscheduler"
> 6 nork_at_nadesico$ cvsync
> /libexec/ld-elf.so.1: /usr/lib/libthr.so.2: Undefined symbol "thr_getscheduler"

If you have set SYMVER_ENABLED when building libc, then you may not have 
thr_getscheduler(), thr_setscheduler() and thr_setschedparam() in the 
src/lib/libc/sys/Versions.def file for the syscalls. (Path and syscall 
name may vary...)

I discovered that after much trial and error. I then couldn't get 
thunderbird or firefox to successfully resolve DNS so in the end gave up 
and rebuilt everything without symbol versioning. The installworld was 
fun...

Iain
Received on Mon Jul 17 2006 - 21:39:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC