Philip M. Gollucci wrote:
> Philippe M. Chiasson wrote:
> 
>> I've encouontered this problem before on FreeBSD and have had some
>> success
>> working around it. One of the main problems seems to be with FreeBSD's
>> Perl
>> build picking Perl's malloc instead of the native FreeBSD malloc().
>> You can see
>> how your perl is configured like this:
>>
>> $> perl -V:usemymalloc
>> usemymalloc='y';
>>  
> The default /usr/port/lang/perl5.8
> does build perl with this flag.  At least on 5.4 and 6.0-current.
> 
> [EMAIL PROTECTED] /home/pgollucci rv=0 5 >uname
> FreeBSD smgellar 5.4-RELEASE  i386
> 
> [EMAIL PROTECTED] /home/pgollucci rv=0 4 >/usr/local/bin/perl
> -V:usemymalloc
> usemymalloc='y';
> 
> I may be able to nudge ports@ to change add a flag to Makefile.

I remember reading a thread on ports@ about the reason why that flag was
added in the first ( can't find the thread right now ), but I seem to recall
there was some problem with Perl's usage of FreeBSD's malloc() causing some
performance problem. I believe that problem went away at some point but the
workaround remained.

Poking [EMAIL PROTECTED] about this issue could possibly help, especially if
the reason this was done can be shown not to apply anymore.

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to