From owner-freebsd-ports@FreeBSD.ORG Sat Feb 9 21:34:42 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 C7364147; Sat, 9 Feb 2013 21:34:42 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 6C204935; Sat, 9 Feb 2013 21:34:41 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1U4I46-00024d-Vx; Sat, 09 Feb 2013 21:34:35 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1U4I46-0003L0-Qa; Sat, 09 Feb 2013 21:34:30 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r19LYUno046251; Sat, 9 Feb 2013 21:34:30 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r19LYUoC046250; Sat, 9 Feb 2013 21:34:30 GMT (envelope-from mexas) Date: Sat, 9 Feb 2013 21:34:30 GMT From: Anton Shterenlikht Message-Id: <201302092134.r19LYUoC046250@mech-cluster241.men.bris.ac.uk> To: freebsd-ports@FreeBSD.org, mexas@bristol.ac.uk, swills@FreeBSD.org Subject: Re: lang/perl5.16: threaded perl vs -pthread? In-Reply-To: <5115AC25.7060208@FreeBSD.org> X-Spam-Score: -1.3 X-Spam-Level: - X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2013 21:34:42 -0000 From swills@freebsd.org Sat Feb 9 02:32:10 2013 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 Ok, thanks, I'll stick to the default. Anton