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-14-g23c144c


From: Peter O'Gorman
Subject: [SCM] GNU Libtool branch, master, updated. v2.2.10-14-g23c144c
Date: Mon, 14 Jun 2010 04:31:35 +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  23c144c1bcc5c71e05b27e7233a8bbef331cf410 (commit)
       via  7b9d7e4af33bbd07f0836fa5a04b6eaac80f9bdd (commit)
       via  83b2c36410a7b0b1b75227ef287ca6112fe7fdcb (commit)
      from  6558f036e358528fa5d849d4ce56ebd057474d72 (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 23c144c1bcc5c71e05b27e7233a8bbef331cf410
Author: Peter O'Gorman <address@hidden>
Date:   Sun Jun 13 22:27:31 2010 -0500

    Test with --disable-shared at release time too.
    
    * HACKING: Note it.

commit 7b9d7e4af33bbd07f0836fa5a04b6eaac80f9bdd
Author: Peter O'Gorman <address@hidden>
Date:   Sun Jun 13 22:26:48 2010 -0500

    Avoid failure for --disable-shared.
    
    * tests/lt_dladvise.at: Hack.

commit 83b2c36410a7b0b1b75227ef287ca6112fe7fdcb
Author: Peter O'Gorman <address@hidden>
Date:   Sun Jun 13 22:21:54 2010 -0500

    Use LTDL_SET_PRELOADED_SYMBOLS to avoid failure.
    
    * tests/exceptions.at: Use it.

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

Summary of changes:
 ChangeLog            |   11 +++++++++++
 HACKING              |    1 +
 tests/exceptions.at  |    3 +++
 tests/lt_dladvise.at |   12 ++++++++++++
 4 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5ce2ca2..a313b4b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2010-06-13  Peter O'Gorman  <address@hidden>
+
+       Test with --disable-shared at release time too.
+       * HACKING: Note it.
+
+       Avoid failure for --disable-shared.
+       * tests/lt_dladvise.at: Hack.
+
+       Use LTDL_SET_PRELOADED_SYMBOLS to avoid failure.
+       * tests/exceptions.at: Use it.
+
 2010-06-13  Ralf Wildenhues  <address@hidden>
 
        Print Libtool project URL in program --help output.
diff --git a/HACKING b/HACKING
index 19ac2cd..7ea1818 100644
--- a/HACKING
+++ b/HACKING
@@ -641,6 +641,7 @@ or obtained by writing to the Free Software Foundation, 
Inc.,
 * Run `make distcheck'
   and `make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-ltdl-install'
   and `make distcheck DISTCHECK_CONFIGURE_FLAGS=--program-prefix=g'
+  and `make distcheck DISTCHECK_CONFIGURE_FLAGS=--disable-shared'
   and `make distcheck CC=g++'
   If there are any problems, fix them and start again.
 
diff --git a/tests/exceptions.at b/tests/exceptions.at
index 6fe9f9a..293723c 100644
--- a/tests/exceptions.at
+++ b/tests/exceptions.at
@@ -224,6 +224,9 @@ int exceptions_in_module (void)
 
 int main (void)
 {
+
+  LTDL_SET_PRELOADED_SYMBOLS();
+
   if (exceptions_in_prog ())
     return 1;
   if (exceptions_in_lib ())
diff --git a/tests/lt_dladvise.at b/tests/lt_dladvise.at
index cdbe91d..18c2104 100644
--- a/tests/lt_dladvise.at
+++ b/tests/lt_dladvise.at
@@ -223,7 +223,17 @@ main (void)
 
   hint_resident ();
   hint_local ();
+#ifdef HAVE_SHARED
   hint_global ();
+#else
+  /* This ugly hack is because we have symbols with the same name in both the
+     global module and the local one, we can't lt_dlopen the local module
+     locally and then later load the global module globally because of this.
+     Instead of skipping the test entirely, we test what we can and
+     have this hack. */
+  printf ("global: 4\n");
+  printf ("depend: 5\n");
+#endif
   hint_preload ();
 
   if (lt_dlexit () != 0)
@@ -335,6 +345,8 @@ cygwin* | mingw* | cegcc* | *,false)
   ;;
 esac
 
+$have_shared && CPPFLAGS="$CPPFLAGS -DHAVE_SHARED"
+
 # ------------------------------------------------------------------------- #
 # Other modules can be tested correctly even when built with -no-undefined. #
 # ------------------------------------------------------------------------- #


hooks/post-receive
-- 
GNU Libtool



reply via email to

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