From owner-freebsd-ports@FreeBSD.ORG Sat Jun 23 18:05:23 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7E18106566C for ; Sat, 23 Jun 2012 18:05:23 +0000 (UTC) (envelope-from scheidell@freebsd.org) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [204.89.241.253]) by mx1.freebsd.org (Postfix) with ESMTP id 7F21E8FC12 for ; Sat, 23 Jun 2012 18:05:23 +0000 (UTC) Received: from mx1.secnap.com.ionspam.net (mx1.secnap.com.ionspam.net [10.70.1.253]) by mx1.secnap.com.ionspam.net (Postfix) with ESMTP id 06351621C55; Sat, 23 Jun 2012 14:05:23 -0400 (EDT) X-Virus-Scanned: SpammerTrap(r) VPS-1500 2.18 at mx1.secnap.com.ionspam.net Received: from USBCTDC001.secnap.com (usbctdc001.secnap.com [10.70.1.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.secnap.com.ionspam.net (Postfix) with ESMTPS id 2AA92621C51; Sat, 23 Jun 2012 14:05:22 -0400 (EDT) Received: from USBCTMX001.secnap.com (::ffff:10.70.1.129) by USBCTDC001.secnap.com (::ffff:10.70.1.1) with Microsoft SMTP Server (TLS) id 14.0.722.0; Sat, 23 Jun 2012 14:05:21 -0400 Received: from usbctlt011.secnap.com (10.70.2.19) by USBCTMX001.secnap.com (10.70.1.129) with Microsoft SMTP Server (TLS) id 14.0.722.0; Sat, 23 Jun 2012 14:05:21 -0400 Message-ID: <4FE60561.8050606@freebsd.org> Date: Sat, 23 Jun 2012 14:05:21 -0400 From: Michael Scheidell Organization: SECNAP Network Security Corp User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Kevin Oberman References: <4FE5EA8E.1020302@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: Anyone using perl-5.12 and WITH_PERL_MALLOC? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jun 2012 18:05:23 -0000 On 6/23/12 12:31 PM, Kevin Oberman wrote: > > (I noticed in the Makefile, if you have WITH_THREADS&& WITH_PERL_MALLOC, > .if defined(WITH_THREADS) > #XXX .if ${ARCH} == "amd64" > #XXX IGNORE= Threaded perl does not pass tests on ${ARCH} > #XXX .endif > CONFIGURE_ARGS+= -Dusethreads=y > PKGNAMESUFFIX= -threaded > WITH_PTHREAD= yes > # it seems perl malloc has problems with threaded perl on FreeBSD > .undef WITH_PERL_MALLOC > > > I wonder if this is true for WITH_PTHREAD (which is on by default) > > anyone using it this way? with_perl_malloc? on 7.x? > > is it broken on 7.x? > On my 9.0-Stable (4/28/12) system I have perl-threaded installed with > PERL_MALLOC selected. 'perl5 -V' reports: > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV > PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL > USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES > USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API > Built under freebsd > Compiled at Feb 16 2012 10:25:18 I believe you were tricked by the above .if defined in the Makefile mine (without_threads), and (without_perl_malloc) says same thing 'perl_malloc_wrap' (I ASSUME that WITH_PERL_MALLOC and WITHOUT_THREADS, it would say perl_malloc? here is mine: (that runs, without_perl_malloc) Characteristics of this binary (from libperl): this is the default build. Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF -- Michael Scheidell, CTO >*| * SECNAP Network Security Corporation d: +1.561.948.2259 w: http://people.freebsd.org/~scheidell