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 c7e6bd3060d5b4e0d5e6b4304b6ee14219f0ba04 (commit) from a05d258b4c1c5acfee449e4ae305ac67bffd6f25 (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 c7e6bd3060d5b4e0d5e6b4304b6ee14219f0ba04 Author: Peter O'Gorman <[EMAIL PROTECTED]> Date: Mon Sep 1 23:58:40 2008 -0500 Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl dlopen(NULL) libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define. libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check. libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to -Wl,-bexpall. This is a temporary workaround until a real fix is implemented. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 12 ++++++++++++ NEWS | 3 +++ libltdl/loaders/dlopen.c | 9 +-------- libltdl/m4/libtool.m4 | 2 ++ libltdl/m4/ltdl.m4 | 6 ------ 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a67fd5..af1f78b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2008-09-01 Peter O'Gorman <[EMAIL PROTECTED]> + + Revert 75142db4f8afc65ba7aae0ed80ea0b35bd9cc382 (AIX libltdl + dlopen(NULL) + + libltdl/m4/ltdl.m4: Remove LTDL_DLOPEN_SELF_WORKS define. + libltdl/loaders/dlopen.c: Remove LTDL_DLOPEN_SELF_WORKS check. + libltdl/m4/libtool.m4 [aix]: Set export_dynamic_flag_spec to + -Wl,-bexpall. This is a temporary workaround until a real fix + is implemented. + NEWS: document it. + 2008-08-26 Peter O'Gorman <[EMAIL PROTECTED]> Allow for extensions other than .a for preloaded modules. diff --git a/NEWS b/NEWS index c85f741..862e2a5 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,9 @@ New in 2.2.??: 2008-08-??: git version 2.2.5a, Libtool team: - Fix 2.2 regression that caused argz symbols to be exported from libltdl unrenamed on systems that do not have working argz. + - Revert "lt_dlopen(NULL) works on AIX again.". It was not the + correct fix. + New in 2.2.4: 2008-05-04: git version 2.2.3a, Libtool team: * New features: diff --git a/libltdl/loaders/dlopen.c b/libltdl/loaders/dlopen.c index b445407..1d052b4 100644 --- a/libltdl/loaders/dlopen.c +++ b/libltdl/loaders/dlopen.c @@ -191,14 +191,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char *filename, #endif } - /* On AIX, dlopen(NULL) succeeds but dlsym of symbols fails. - In this case, fail here to let the preopen loader do the job. */ -#ifndef LTDL_DLOPEN_SELF_WORKS - if (!filename) - module = NULL; - else -#endif - module = dlopen (filename, module_flags); + module = dlopen (filename, module_flags); if (!module) { diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index fb5f178..39ba996 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4618,6 +4618,7 @@ _LT_EOF fi fi + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes @@ -5561,6 +5562,7 @@ if test "$_lt_caught_CXX_error" != yes; then fi fi + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. diff --git a/libltdl/m4/ltdl.m4 b/libltdl/m4/ltdl.m4 index bac721e..f84f15f 100644 --- a/libltdl/m4/ltdl.m4 +++ b/libltdl/m4/ltdl.m4 @@ -380,12 +380,6 @@ m4_require([_LT_HEADER_DLFCN])dnl m4_require([_LT_CHECK_DLPREOPEN])dnl m4_require([_LT_DECL_SED])dnl -# lt_cv_dlopen_self gets defined by LT_SYS_DLOPEN_SELF, called by LT_INIT -if test "$lt_cv_dlopen_self" = yes; then - AC_DEFINE([LTDL_DLOPEN_SELF_WORKS], [1], - [Define if dlopen(NULL) is able to resolve symbols from the main program.]) -fi - dnl Don't require this, or it will be expanded earlier than the code dnl that sets the variables it relies on: _LT_ENABLE_INSTALL hooks/post-receive -- GNU Libtool