grep-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep-3.7.98-c9ac on AIX in 32-bit mode


From: Bruno Haible
Subject: grep-3.7.98-c9ac on AIX in 32-bit mode
Date: Sun, 03 Jul 2022 14:22:36 +0200

On AIX 7.1, with xlc compiler in 32-bit mode (CC="xlc -qthreaded -qtls"),
"make check-expensive" produces 1 test failure:


FAIL: long-pattern-perf
=======================

++ initial_cwd_=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/haible/grep-3.7.98-c9ac/build-32-xlc/tests 
gt-long-pattern-perf.XXXX
+++ case $# in
+++ destdir_=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests
+++ template_=gt-long-pattern-perf.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/
+++ case $template_ in
++++ unset TMPDIR
+++ d=
++++ echo gt-long-pattern-perf.XXXX
++++ sed 's/XX*$//'
+++ base_template_=gt-long-pattern-perf.
++++ echo gt-long-pattern-perf.XXXX
++++ wc -c
+++ template_length_='      26'
++++ echo gt-long-pattern-perf.
++++ wc -c
+++ nx_='      22'
++++ expr 26 - 22
+++ nx_=4
+++ err_=
+++ i_=1
+++ :
++++ rand_bytes_ 4
++++ n_=4
++++ chars_=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ dev_rand_=/dev/urandom
++++ test -r /dev/urandom
++++ dd ibs=4 count=1 if=/dev/urandom
++++ LC_ALL=C
++++ tr -c abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 
01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ LC_ALL=C
++++ env -- tr -c 
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 
01234567abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
++++ return
+++ X_=Kif5
+++ 
candidate_dir_=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
++++ mkdir -m 0700 
/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
+++ err_=
+++ echo 
/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
+++ return
++ 
test_dir_=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
++ cd /home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
++ case $srcdir in
++ srcdir=../../../tests
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS='        
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ saved_IFS='  
'
++ IFS=:
++ new_PATH=
++ sep_=
++ for dir in $PATH
++ case "$dir" in
++ test -d /home/haible/grep-3.7.98-c9ac/build-32-xlc/src/.
++ new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ for dir in $PATH
++ case "$dir" in
++ for dir in $PATH
++ case "$dir" in
++ test -d /home/haible/prefix32/bin/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /usr/bin/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /etc/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /usr/sbin/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /usr/ucb/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /home/haible/bin/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/haible/bin
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /usr/bin/X11/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/haible/bin:/usr/bin/X11
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ test -d /sbin/.
++ 
new_PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/haible/bin:/usr/bin/X11:/sbin
++ sep_=:
++ for dir in $PATH
++ case "$dir" in
++ IFS='        
'
++ 
PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/haible/bin:/usr/bin/X11:/sbin
++ export PATH
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
+ abs_path_dir_=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/../src
+ case $abs_path_dir_ in
+ 
PATH=/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/../src:/home/haible/grep-3.7.98-c9ac/build-32-xlc/src:/home/haible/prefix32/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/haible/bin:/usr/bin/X11:/sbin
+ create_exe_shims_ /home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/../src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ expensive_
+ test yes '!=' yes
+ require_perl_
+ test perl
+ perl -e 'use warnings'
+ echo x
+ seq 10000 50000
+ case $# in
+ start=10000
+ final=50000
+ awk 'BEGIN{for(i=10000;i<=50000;i++) print i}'
+ tr -d '\012'
+ LC_ALL=C
+ env -- tr -d '\012'
+ cat r r r r r r r r r r
+ mv r re
++ user_time_ 1 grep -f re in
++ perl -le '
    my $expected_exit_status = $ARGV[0];
    shift @ARGV;

    system (@ARGV);
    my ($user, $system, $child_user, $child_system) = times;

    my $me = q(long-pattern-perf);
    $? == -1
      and die qq($me: failed to exec ") . join (" ", @ARGV) . qq(": $!\n);
    my $rc = $?;
    my $sig = ($rc & 127);
    $sig and die "$me: child died with signal $sig\n";
    $rc >>= 8;
    $rc == $expected_exit_status
      or die "$me: bad exit status: expected $expected_exit_status; got $rc\n";

    # Print milliseconds of child user time.
    $child_user *= 1000;
    print int ($child_user + 0.5)' 1 grep -f re in
+ base_ms=450
++ user_time_ 1 grep -f re-10x in
++ perl -le '
    my $expected_exit_status = $ARGV[0];
    shift @ARGV;

    system (@ARGV);
    my ($user, $system, $child_user, $child_system) = times;

    my $me = q(long-pattern-perf);
    $? == -1
      and die qq($me: failed to exec ") . join (" ", @ARGV) . qq(": $!\n);
    my $rc = $?;
    my $sig = ($rc & 127);
    $sig and die "$me: child died with signal $sig\n";
    $rc >>= 8;
    $rc == $expected_exit_status
      or die "$me: bad exit status: expected $expected_exit_status; got $rc\n";

    # Print milliseconds of child user time.
    $child_user *= 1000;
    print int ($child_user + 0.5)' 1 grep -f re-10x in
grep: program error
long-pattern-perf: child died with signal 6
+ b10x_ms=
+ fail=1
+ returns_ 1 expr 450 '<' / 20
expr: syntax error
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/haible/grep-3.7.98-c9ac/build-32-xlc/tests
+ chmod -R u+rwx 
/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
+ rm -rf 
/home/haible/grep-3.7.98-c9ac/build-32-xlc/tests/gt-long-pattern-perf.Kif5
+ exit 1
FAIL long-pattern-perf (exit status: 1)

On this platform, also 'test-c-stack' dumps core. Maybe that's related?

In 64-bit mode, OTOH, all tests pass.

Bruno






reply via email to

[Prev in Thread] Current Thread [Next in Thread]