libtool-patches
[Top][All Lists]
Advanced

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

Re: libtool-2.2.11a on AIX 5.3 current git master / followup on the old


From: Ralf Wildenhues
Subject: Re: libtool-2.2.11a on AIX 5.3 current git master / followup on the old test suite and failures in the new testsuit
Date: Sat, 21 Aug 2010 10:17:46 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Rainer Tammer wrote on Sat, Aug 07, 2010 at 09:35:56AM CEST:
> I have added one additional patch (as I did for the last run):
> 
> # diff /daten/source/libtool-2.2.11a/tests/defs.in defs.in
[...]
> < # On AIX, shared libraries remain loaded in memory after use if they
> < # are world-readable, until root issues slibclean.  On NFS, this causes
> < # a testsuite rerun to fail to clean up test group directories.  Avoid
> < # this with a suitable umask.  Do not do this on other systems, for
> < # example HP-UX suffers unless shared libraries are mode 555.
> < case $host_os in
> < aix*) umask o-rwx ;;
> < esac

I have pushed your patch now, as below.

> Now I get some new errors from the old test suite:
> 
> # grep FAIL check.log
> FAIL: tests/f77demo-exec.test
> FAIL: tests/f77demo-exec.test
> FAIL: tests/fcdemo-exec.test
> FAIL: tests/fcdemo-exec.test
> ...
> 
> This is because the LIBPATH is not OK:

This has been fixed since in git Libtool.

Cheers, and thanks again,
Ralf

2010-08-21  Rainer Tammer <address@hidden>  (tiny change)

        Avoid issues with AIX resident shared libraries in old testsuite.
        * tests/defs.m4sh [aix]: Remove file mode permission for others,
        so shared libraries are not kept in memory after execution.
        Fixes failures of repeated mdemo-inst.test with on AIX 5.3.

diff --git a/tests/defs.m4sh b/tests/defs.m4sh
index 1230555..183783e 100644
--- a/tests/defs.m4sh
+++ b/tests/defs.m4sh
@@ -130,6 +130,7 @@ func_get_config "objext
 objdir
 CC
 host
+host_os
 host_alias
 build
 build_alias" "$LIBTOOL --config" ": fatal"
@@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4
 auxdir=$srcdir/libltdl/config
 scripts="$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh"
 
+# On AIX, shared libraries remain loaded in memory after use if they
+# are world-readable, until root issues slibclean.  On NFS, this causes
+# a testsuite rerun to fail to clean up test group directories.  Avoid
+# this with a suitable umask.  Do not do this on other systems, for
+# example HP-UX suffers unless shared libraries are mode 555.
+case $host_os in
+aix*) umask o-rwx ;;
+esac
+
 func_msg "Running $progname"
 
 # Local Variables:



reply via email to

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