From owner-freebsd-current@FreeBSD.ORG Mon Jul 17 23:39:52 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D547216A4DF; Mon, 17 Jul 2006 23:39:52 +0000 (UTC) (envelope-from iain.templeton@cisra.canon.com.au) Received: from ebenezer.cisra.com.au (a.ns.cisra.com.au [203.12.173.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6708443D4C; Mon, 17 Jul 2006 23:39:49 +0000 (GMT) (envelope-from iain.templeton@cisra.canon.com.au) Received: from jaroslav.research.canon.com.au (edge-aide.cisra.com.au [203.12.173.254]) by ebenezer.cisra.com.au (Postfix) with ESMTP id 1C7C622240B; Mon, 17 Jul 2006 23:39:44 +0000 (UTC) Received: from [10.2.7.137] (lureen.research.canon.com.au [10.2.7.137]) by jaroslav.research.canon.com.au (Postfix) with ESMTP id 104165C01B; Mon, 17 Jul 2006 23:39:44 +0000 (UTC) Message-ID: <44BC1FBF.8050603@cisra.canon.com.au> Date: Tue, 18 Jul 2006 09:39:43 +1000 From: Iain Templeton User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Norikatsu Shigemura References: <20060716232338.2357f50a.nork@FreeBSD.org> <200607171309.34139.jhb@freebsd.org> <20060718070334.496cfdf0.nork@FreeBSD.org> In-Reply-To: <20060718070334.496cfdf0.nork@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 17 Jul 2006 23:47:07 +0000 Cc: freebsd-current@FreeBSD.org Subject: Re: many thread applications are unstable on 7-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jul 2006 23:39:52 -0000 Norikatsu Shigemura wrote: > On Mon, 17 Jul 2006 13:09:33 -0400 > John Baldwin 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