Stefano Lattarini wrote: > On 12/26/2011 11:26 PM, Jim Meyering wrote: >> FAIL: cond29 >> ============ ... >> + aclocal-1.11a -Werror >> /usr/bin/perl: error while loading shared libraries: >> libc.so.6: failed to map segment from shared object: >> Cannot allocate memory >> > Ah-ah, memory ulimit contraints imposed by ulimit above: > > ulimit -v 20000 > > seems to be too tight. I can reproduce a similar failure on the Fedora > 16 system (on pcc64 machine) at the GCC compile farm, and fix it with > the attached patch. Does that patch works for you as well? > >> + exit_status=127 >> + set +e >> + cd /h/j/w/co/automake/tests >> + test no = yes >> + case $am_explicit_skips in >> + test 127 -eq 0 >> + keep_testdirs=yes >> + am_keeping_testdirs >> + case $keep_testdirs in >> + return 0 >> + set +x >> cond29: exit 127
With a 50-MB limit, I see this failure on x86_64: + echo 'AM_CONDITIONAL([C24], [:])' + aclocal-1.11a -Werror + automake-1.11a --foreign -Werror -Wall Out of memory! Out of memory! + exit_status=1 + set +e + cd /h/j/w/co/automake/tests + test no = yes + case $am_explicit_skips in + test 1 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x cond29: exit 1 Same with 60MB, but it passes with 70MB. So I suggest changing s/50/70/ in both the patch and the log message. Maybe even 90 or 100, just to be a little more future/bloat-proof.