From owner-freebsd-ports@FreeBSD.ORG Sat Feb 9 01:53:56 2013 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 87FC7269 for ; Sat, 9 Feb 2013 01:53:56 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2B3FC1 for ; Sat, 9 Feb 2013 01:53:56 +0000 (UTC) Received: from meatwad.mouf.net (cpe-098-122-135-254.nc.res.rr.com [98.122.135.254]) (authenticated bits=0) by mouf.net (8.14.5/8.14.5) with ESMTP id r191rfCl086418 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Sat, 9 Feb 2013 01:53:47 GMT (envelope-from swills@FreeBSD.org) Message-ID: <5115AC25.7060208@FreeBSD.org> Date: Sat, 09 Feb 2013 01:53:41 +0000 From: Steve Wills User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: mexas@bristol.ac.uk, freebsd ports Subject: Re: lang/perl5.16: threaded perl vs -pthread? References: <201302082059.r18KxDoY036464@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201302082059.r18KxDoY036464@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mouf.net [199.48.129.64]); Sat, 09 Feb 2013 01:53:47 +0000 (UTC) X-Spam-Status: No, score=1.3 required=4.5 tests=RCVD_IN_RP_RNBL autolearn=no version=3.3.2 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.6 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 01:53:56 -0000 On 02/08/13 20:59, Anton Shterenlikht wrote: > What is the difference between building lang/perl5.16 > with > Build threaded perl > vs > Build with -pthread > > on amd64? > > What if I choose both options? > The point of the -pthread option is to ensure that perl doesn't hang when you load a perl module which dlopens a threaded lib. You really want this. Threaded perl is completely different. You probably don't want this unless you know what you're doing. The two are not incompatible. The defaults were chosen wisely, for good reasons. Steve