On 12/26/2011 11:26 PM, Jim Meyering wrote: > FAIL: cond29 > ============ > > Running from installcheck: no > Using TAP: no > PATH = /h/j/w/co/automake/tests:/opt/cov-sa-linux64-5.4.0/bin:/usr/lib64/ccache:/h/j/bin/perl:/h/j/bin:/p/p/git/bin:/p/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local:/usr/local/bin > ++ pwd > /h/j/w/co/automake/tests/cond29.dir > + echo AC_PROG_CC > + cat > + ulimit -v 1 > + sh -c : > ./cond29.test: line 35: /bin/sh: Argument list too long > + ulimit -v 20000 > + sh -c : > + ulimit -v 20000 > + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 > + unindent > + test x = x > ++ printf '%s\n' ' > /^$/b # Nothing to do for empty lines. > x # Get x into pattern space. > /^$/{ # No prior x, go prepare it. > g # Copy this 1st non-blank line into pattern space. > s/^\([ ]*\).*/x\1/ # Prepare x in pattern space. > } # Now: x in pattern and in hold. > G # Build x\n in pattern space, and > h # duplicate it into hold space. > s/\n.*$// # Restore x in pattern space, and > x # exchange with the above duplicate in hold space. > s/^x\(.*\)\n\1// # Remove leading from . > s/^x.*\n// # Restore when there is no leading . > ' > ++ sed -e 's/ *# .*//' > + sed_unindent_prog=' > /^$/b > x > /^$/{ > g > s/^\([ ]*\).*/x\1/ > } > G > h > s/\n.*$// > x > s/^x\(.*\)\n\1// > s/^x.*\n//' > + sed ' > /^$/b > x > /^$/{ > g > s/^\([ ]*\).*/x\1/ > } > G > h > s/\n.*$// > x > s/^x\(.*\)\n\1// > s/^x.*\n//' > + echo 'AM_CONDITIONAL([C01], [:])' > + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 > [SNIP repeated traces] > > + for i in 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 > + unindent > + test 'x > /^$/b > x > /^$/{ > g > s/^\([ ]*\).*/x\1/ > } > G > h > s/\n.*$// > x > s/^x\(.*\)\n\1// > s/^x.*\n//' = x > + sed ' > /^$/b > x > /^$/{ > g > s/^\([ ]*\).*/x\1/ > } > G > h > s/\n.*$// > x > s/^x\(.*\)\n\1// > s/^x.*\n//' > + echo 'AM_CONDITIONAL([C22], [:])' > + 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 > Thanks, Stefano