Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 09:39:43 +1000
From:      Iain Templeton <iain.templeton@cisra.canon.com.au>
To:        Norikatsu Shigemura <nork@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: many thread applications are unstable on 7-current
Message-ID:  <44BC1FBF.8050603@cisra.canon.com.au>
In-Reply-To: <20060718070334.496cfdf0.nork@FreeBSD.org>
References:  <20060716232338.2357f50a.nork@FreeBSD.org>	<200607171309.34139.jhb@freebsd.org> <20060718070334.496cfdf0.nork@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

Norikatsu Shigemura wrote:
> On Mon, 17 Jul 2006 13:09:33 -0400
> John Baldwin <jhb@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@nadesico$ firefox
> /libexec/ld-elf.so.1: /usr/lib/libthr.so.2: Undefined symbol "thr_getscheduler"
> 6 nork@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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44BC1FBF.8050603>