From owner-freebsd-stable@FreeBSD.ORG Fri Jun 19 16:31:17 2009 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEC1A1065756; Fri, 19 Jun 2009 16:31:17 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mx.npubs.com (mail.npubs.com [94.75.203.100]) by mx1.freebsd.org (Postfix) with ESMTP id 93F438FC12; Fri, 19 Jun 2009 16:31:17 +0000 (UTC) (envelope-from stef-list@memberwebs.com) Received: from mx.npubs.com (avhost [94.75.203.103]) by mx.npubs.com (Postfix) with ESMTP id 58D9E171E51; Fri, 19 Jun 2009 15:59:23 +0000 (UTC) Received: from sqlserver1 (unknown [74.82.45.12]) by mx.npubs.com (Postfix) with ESMTP id 2618E171E4E; Fri, 19 Jun 2009 15:59:21 +0000 (UTC) From: Stef Walter User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: John Baldwin References: <200906151659.27326.jhb@freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20090619155922.2618E171E4E@mx.npubs.com> X-Virus-Scanned: ClamAV using ClamSMTP Date: Fri, 19 Jun 2009 15:59:23 +0000 (UTC) Cc: stable@FreeBSD.org Subject: Re: HEADSUP: libpthread compat for 5.x and 6.x binaries X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stef@memberwebs.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2009 16:31:18 -0000 John Baldwin wrote: > What I would like to find out is if there are any 5.x or 6.x binaries that use > libpthread that do not run well with libthr. You can test this by using a > libmap.conf(5) file to remap libpthread to libthr. For 5.x binaries you will > want to remap libpthread.so.1 to libthr.so.1. For 6.x binaries you will want > to remap libpthread.so.2 to libthr.so.2. This can be accomplished using > an /etc/libmap.conf file that contains: I'm running about a hundred jails with a libmap.conf file like that. In order to run 32-bit 6.x jails on FreeBSD 7.2 64-bit... The only time I've seen a problem, is when a threaded application binary is compiled statically. Apparently mysql is built statically sometimes. Obviously in these cases libmap.conf can't kick in. Cheers, Stef Walter