Subject: pkg/33336: compiling perl5 aborts with out of memory message
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 04/22/2006 10:15:00
>Number:         33336
>Category:       pkg
>Synopsis:       compiling perl5 aborts with out of memory message
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 22 10:15:00 +0000 2006
>Originator:     rudi
>Release:        3.99.8
gecko# uname -a
NetBSD gecko 3.99.8 NetBSD 3.99.8 (GENERIC) #0: Sat Sep 10 04:25:01 UTC

compiling perl5 one a standard installation of NetBSD 3.99.8 on a hp712
aborts with an out of memory message.

        AutoSplitting perl library
LD_LIBRARY_PATH=/mnt/pkgsrc/lang/perl5/work/perl-5.8.7 ./miniperl -Ilib -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*.pm
LD_LIBRARY_PATH=/mnt/pkgsrc/lang/perl5/work/perl-5.8.7 ./miniperl -Ilib -e 'use AutoSplit;  autosplit_lib_modules(@ARGV)' lib/*/*.pm

touch lib/ExtUtils/
cd lib/unicore &&
../../miniperl -I../../lib mktables -w
Out of memory!
*** Error code 1

make: stopped in /amd/ratte/root/export/pkgsrc/lang/perl5/work/perl-5.8.7



Needed to increase the data size to circumvent the problem.

ulimit -S -d 264211

before calling make

Unfortunately then I run into an internal compiler bug later :-(
which will be subject of another PR.