libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.2.10-87-gc9ee137


From: Ralf Wildenhues
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-87-gc9ee137
Date: Sat, 21 Aug 2010 08:17:09 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  c9ee137683c618c9c1f2fedbb4b9e970615dfc99 (commit)
       via  7406192d816ba37437c6463011fec47147c9aee3 (commit)
       via  a31a28281b1a3ed046238b2629f792583eda21dc (commit)
       via  69c0031a576a27e861a4d85b687a0d9f569192f6 (commit)
      from  275dd5d0634199a4acb51c627c8f2786c1c5ccb5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c9ee137683c618c9c1f2fedbb4b9e970615dfc99
Author: Rainer Tammer <address@hidden>
Date:   Sat Aug 21 10:02:29 2010 +0200

    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.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

commit 7406192d816ba37437c6463011fec47147c9aee3
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Aug 7 00:23:22 2010 +0200

    Skip part of versioning test on AIX.
    
    * tests/versioning.at (versioning): The AIX linker always
    records the unversioned library name, even with runtimelinking,
    so skip the execution test for the incompatibly upgraded
    library.
    Report by Rainer Tammer.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

commit a31a28281b1a3ed046238b2629f792583eda21dc
Author: Ralf Wildenhues <address@hidden>
Date:   Fri Aug 6 23:45:23 2010 +0200

    Remove dead code from versioning test.
    
    * tests/versioning.at (versioning): No need to build unused
    prog3.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

commit 69c0031a576a27e861a4d85b687a0d9f569192f6
Author: Ralf Wildenhues <address@hidden>
Date:   Fri Aug 20 07:02:46 2010 +0200

    Don't hide the table of contents in the manual.
    
    * doc/libtool.texi: Move the table of contents to the beginning.
    Prompted by patch from Bruno Haible against Automake.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog           |   24 ++++++++++++++++++++++++
 doc/libtool.texi    |    4 ++--
 tests/defs.m4sh     |   10 ++++++++++
 tests/versioning.at |   17 +++++++----------
 4 files changed, 43 insertions(+), 12 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ec311e8..0d5840f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,29 @@
+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.
+
+2010-08-21  Ralf Wildenhues  <address@hidden>
+
+       Skip part of versioning test on AIX.
+       * tests/versioning.at (versioning): The AIX linker always
+       records the unversioned library name, even with runtimelinking,
+       so skip the execution test for the incompatibly upgraded
+       library.
+       Report by Rainer Tammer.
+
+       Remove dead code from versioning test.
+       * tests/versioning.at (versioning): No need to build unused
+       prog3.
+
 2010-08-20  Ralf Wildenhues  <address@hidden>
 
+       Don't hide the table of contents in the manual.
+       * doc/libtool.texi: Move the table of contents to the beginning.
+       Prompted by patch from Bruno Haible against Automake.
+
        Remove superfluous dependency in Makefile.am.
        * Makefile.am (tests/demo-conf.test): Remove dependency on
        libtool, this test is a primary source and not generated.
diff --git a/doc/libtool.texi b/doc/libtool.texi
index 3f356c3..d0eaec4 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -70,6 +70,8 @@ the section entitled "GNU Free Documentation License".
 @syncodeindex tp cp
 @synindex pg cp
 
address@hidden
+
 @ifnottex
 @node Top, Introduction, (dir), (dir)
 @comment  node-name,  next,  previous,  up
@@ -6368,6 +6370,4 @@ order to test new changes without having to rerun 
@code{configure}.
 
 @printindex cp
 
address@hidden summarycontents
address@hidden
 @bye
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:
diff --git a/tests/versioning.at b/tests/versioning.at
index 69bf731..1d75f62 100644
--- a/tests/versioning.at
+++ b/tests/versioning.at
@@ -24,7 +24,7 @@
 AT_SETUP([versioning])
 AT_KEYWORDS([libtool])
 
-eval "`$LIBTOOL --config | $EGREP '^(objdir)='`"
+eval "`$LIBTOOL --config | $EGREP '^(objdir|host_os)='`"
 
 # Setup some library and program sources:
 # a library (a1), a new revision (a2), a compatible update (a3),
@@ -91,14 +91,6 @@ int main (void)
 }
 ]])
 
-AT_DATA([prog3.c], [[
-extern int a (void), internal_detail;
-int main (void)
-{
-  return a () + internal_detail - 42;
-}
-]])
-
 
 inst=`pwd`/inst
 libdir=$inst/lib
@@ -109,7 +101,7 @@ mkdir $inst $libdir $bindir
 for file in liba1.c liba2.c liba3.c liba4.c libb.c; do
   $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file
 done
-for file in prog1.c prog2.c prog3.c; do
+for file in prog1.c prog2.c; do
   $CC $CPPFLAGS $CFLAGS -c $file
 done
 
@@ -235,6 +227,11 @@ AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o 
liba.la liba4.lo ]dnl
 # available, so test_uninstalled will not necessarily work here any more.
 AT_CHECK([$LIBTOOL --mode=install cp liba.la $libdir], [], [ignore], [ignore])
 AT_CHECK([$LIBTOOL --mode=clean rm -f liba.la], [], [ignore], [ignore])
+
+# This test does not work on AIX, not even with runtimelinking, because
+# the linker always records the unversioned name as dependency.
+AT_CHECK([:; case $host_os in aix*) exit 77;; esac])
+
 test_installed
 
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

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