From owner-freebsd-threads@FreeBSD.ORG Thu Apr 15 03:02:54 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FB3716A4CE for ; Thu, 15 Apr 2004 03:02:54 -0700 (PDT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id C284343D5F for ; Thu, 15 Apr 2004 03:02:53 -0700 (PDT) (envelope-from Alexander@Leidinger.net) Received: from fwd11.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1BE3hs-0005qK-01; Thu, 15 Apr 2004 12:02:52 +0200 Received: from Andro-Beta.Leidinger.net (TnwVcOZDoeTvD-tRDjJqJZFIWT8y+U8auyS7DKTWdPhf90Bn7l3P6J@[217.229.215.93]) by fmrl11.sul.t-online.com with esmtp id 1BE3hZ-08NzU00; Thu, 15 Apr 2004 12:02:33 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) i3FA2Rj0049550; Thu, 15 Apr 2004 12:02:27 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Thu, 15 Apr 2004 12:02:54 +0200 From: Alexander Leidinger To: Ganbold Message-Id: <20040415120254.4318c248@Magellan.Leidinger.net> In-Reply-To: <6.0.3.0.2.20040415180553.02adc870@202.179.0.80> References: <6.0.3.0.2.20040415145916.02ae6708@202.179.0.80> <6.0.3.0.2.20040415152523.02ad4b10@202.179.0.80> <20040415105559.7fe9929b@Magellan.Leidinger.net> <6.0.3.0.2.20040415180553.02adc870@202.179.0.80> X-Mailer: Sylpheed version 0.9.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Seen: false X-ID: TnwVcOZDoeTvD-tRDjJqJZFIWT8y+U8auyS7DKTWdPhf90Bn7l3P6J@t-dialin.net cc: threads@freebsd.org Subject: Re: FBSD 5.2.CURRENT-p4 and mysqld problems X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 10:02:54 -0000 On Thu, 15 Apr 2004 18:07:55 +0900 Ganbold wrote: > > > Is there any trick compiling mysql with libpthread? Without any trick it > > > just hangs. > > > >This may be a bug. Please rebuild without BUILD_STATIC and use > >libmap.conf to try all 3 thread libs (libc_r, libpthread and libthr). If > >only libpthread shows this behavior, it may be a bug in libpthread. > > I will try libmap.conf to map between threads. Is there any special option > should I compile in kernel in order to use libmap.conf? No. Use ---snip--- libpthread.so.1 libc_r.so.5 libpthread.so libc_r.so ---snip--- to globally map libpthread to libc_r. Use ---snip--- libpthread.so.1 libthr.so.1 libpthread.so libthr.so ---snip--- to globally map to libthr. Bye, Alexander. -- I'm available to get hired. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7