many thread applications are unstable on 7-current

Iain Templeton iain.templeton at cisra.canon.com.au
Mon Jul 17 23:39:52 UTC 2006


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


More information about the freebsd-current mailing list