[SCM] GNU Libtool branch, master, updated. v2.4.4-4-g218bf6f

2014-12-04 Thread Gary V. Vaughan
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  218bf6f4c2ed02ee13293b2100238008ef225405 (commit)
  from  ef519e9eccb47d53857876c1486270b1a6dd89c2 (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 218bf6f4c2ed02ee13293b2100238008ef225405
Author: Tijl Coosemans t...@freebsd.org
Date:   Thu Dec 4 13:47:06 2014 +

libtool: commit forgotten soname_spec for freebsd-elf in bb7cef9.

* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) freebsd-elf: Set
soname_spec correctly, per original patch.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 NEWS  |3 +++
 m4/libtool.m4 |1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 280ab4c..5eab046 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,9 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
   - Bail out at configure time if the installed M4 is not sufficient
 for the purposes of libtoolize.
 
+  - freebsd-elf library versioning was upgraded incorrectly in 2.4.4,
+but now works properly again.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 9c089e0..f584ca4 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2594,6 +2594,7 @@ freebsd* | dragonfly*)
   case $version_type in
 freebsd-elf*)
   library_names_spec='$libname$release$shared_ext$versuffix 
$libname$release$shared_ext$major $libname$shared_ext'
+  soname_spec='$libname$release$shared_ext$major'
   need_version=no
   need_lib_prefix=no
   ;;


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.4.4-5-g57a78dd

2014-12-04 Thread Gary V. Vaughan
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  57a78dd5310fda320c51657f09e13a985961ef85 (commit)
  from  218bf6f4c2ed02ee13293b2100238008ef225405 (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 57a78dd5310fda320c51657f09e13a985961ef85
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Dec 4 14:38:01 2014 +

libltdl: edit AM_CPPFLAGS correctly for libltdl/Makefile.am.

* libltdl/ltdl.mk (AM_CPPFLAGS): Make sure the sed expression to
remove the first libltdl/ on each line is not confused by misuse
of linebreaks.
* Makefile.am (lt_Makefile_am): Also edit out the duplicated
include paths after libltdl/ elimination.
* NEWS: Update.
Reported by Michael Wobst

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 Makefile.am |1 +
 NEWS|3 +++
 libltdl/ltdl.mk |6 +++---
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1fb5e5d..f1b7ead 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -191,6 +191,7 @@ $(lt_Makefile_am): $(ltdl_mk)
  '$(SED)' -n '/^.. DO NOT REMOVE THIS LINE -- /,$$p' \
  '$(ltdl_mk)' \
|'$(SED)' -e 's|libltdl_||; s|libltdl/||; s|: libltdl/|: |' \
+ -e '/^[]*-I\$$(srcdir)\/libltdl -Ilibltdl \\/d' \
  -e 's|\$$(libltdl_|$$(|' \
) |'$(SED)' -e '/^.. DO NOT REMOVE THIS LINE -- /d' \
  -e '1s,^\(.. Makefile.\)inc.*,\1am -- Process this file with 
automake to produce Makefile.in,'  '$@'
diff --git a/NEWS b/NEWS
index 5eab046..4f5c3f3 100644
--- a/NEWS
+++ b/NEWS
@@ -15,6 +15,9 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
   - freebsd-elf library versioning was upgraded incorrectly in 2.4.4,
 but now works properly again.
 
+  - Fix a 2.4.4 regression so that libltdl subprojects do not warn
+about missing libltdl/libltdl directory as in prior releases.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/libltdl/ltdl.mk b/libltdl/ltdl.mk
index 4d32de9..6ce3c40 100644
--- a/libltdl/ltdl.mk
+++ b/libltdl/ltdl.mk
@@ -34,9 +34,9 @@
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake
 # (not as a sub-package!) using 'nostdinc':
 AM_CPPFLAGS   += -DLT_CONFIG_H='$(LT_CONFIG_H)' \
- -DLTDL -I. -I$(srcdir) \
- -Ilibltdl  -I$(srcdir)/libltdl \
- -Ilibltdl/libltdl -I$(srcdir)/libltdl/libltdl
+ -DLTDL -I. -I$(srcdir) -Ilibltdl \
+ -I$(srcdir)/libltdl -Ilibltdl/libltdl \
+ -I$(srcdir)/libltdl/libltdl
 AM_LDFLAGS+= -no-undefined
 LTDL_VERSION_INFO  = -version-info 10:1:3
 


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.4.4-6-gfacce81

2014-12-04 Thread Gary V. Vaughan
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  facce819e1d637bafe24301c1404f09c7e17fe63 (commit)
  from  57a78dd5310fda320c51657f09e13a985961ef85 (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 facce819e1d637bafe24301c1404f09c7e17fe63
Author: Norihiro Tanaka nori...@kcn.ne.jp
Date:   Thu Dec 4 15:39:14 2014 +

libtool: fix sys_lib_dlsearch_path_spec for ia64 HP-UX.

The run-time loader does not search /usr/local or subdirectories
by default on ia64 HP-UX.
* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER): Fix
sys_lib_dlsearch_path_spec for ia64 HP-UX.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 NEWS  |6 ++
 m4/libtool.m4 |3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/NEWS b/NEWS
index 4f5c3f3..be3c7f4 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,12 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
   - Fix a 2.4.4 regression so that libltdl subprojects do not warn
 about missing libltdl/libltdl directory as in prior releases.
 
+** Changes in supported systems or compilers:
+
+  - /usr/local prefixed rpaths are now added to the link-line on
+ia64-hp-hpux*, because the default system runtime loader path does
+not contain them.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index f584ca4..2bbf01b 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2654,10 +2654,11 @@ hpux9* | hpux10* | hpux11*)
 soname_spec='$libname$release$shared_ext$major'
 if test 32 = $HPUX_IA64_MODE; then
   sys_lib_search_path_spec=/usr/lib/hpux32 /usr/local/lib/hpux32 
/usr/local/lib
+  sys_lib_dlsearch_path_spec=/usr/lib/hpux32
 else
   sys_lib_search_path_spec=/usr/lib/hpux64 /usr/local/lib/hpux64
+  sys_lib_dlsearch_path_spec=/usr/lib/hpux64
 fi
-sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 ;;
   hppa*64*)
 shrext_cmds='.sl'


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.4.4-7-g89049b7

2014-12-04 Thread Gary V. Vaughan
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  89049b76cfcfc048dccfdab1ec8a0e233d97e8ce (commit)
  from  facce819e1d637bafe24301c1404f09c7e17fe63 (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 89049b76cfcfc048dccfdab1ec8a0e233d97e8ce
Author: Eric Bavier bav...@cray.com
Date:   Thu Dec 4 16:34:17 2014 +

tests: do not assume compiler prefers shared libraries.

Testing whether -static-libtool-libs causes a non-libtool library to be
linked dynamically is effectively a test of the compiler's preference in
this case.  The Cray compiler prefers static libraries if not told
otherwise.
* tests/static.at [static linking flags for programs]: Do not expect
 -static-libtool-libs to fail.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 tests/static.at |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/tests/static.at b/tests/static.at
index 19125de..240a218 100644
--- a/tests/static.at
+++ b/tests/static.at
@@ -344,7 +344,10 @@ for withdep in no yes; do
   echo ### test whether non-libtool library liba3 was linked statically
   func_move_libs a3 $prefix3 $prefix1 $prefix2
   func_test_exec $all_static `$per_deplib  echo 3 13 23 31 123 123a`
-  func_test_exec_fail -static -static-libtool-libs `$per_deplib  echo 1 2 12`
+  # no '-static-libtool-libs' flag below, because some hosts such as
+  # Cray prefer static libs by default.
+  # and doesn't exercise anything not already tested above:
+  func_test_exec_fail -static `$per_deplib  echo 1 2 12`
   func_restore_libs a3 $prefix3
 
   cd ..


hooks/post-receive
-- 
GNU Libtool



[SCM] GNU Libtool branch, master, updated. v2.4.4-8-g9f52eb3

2014-12-04 Thread Gary V. Vaughan
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  9f52eb3d6c69d1cecf8f938ba0be3e7171404261 (commit)
  from  89049b76cfcfc048dccfdab1ec8a0e233d97e8ce (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 9f52eb3d6c69d1cecf8f938ba0be3e7171404261
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Dec 4 17:17:11 2014 +

libltdl: fix gcc compiler warning for unused attributes.

* libltdl/ltdl.c, libltdl/loaders/dld_link.c,
libltdl/loaders/dlopen.c, libltdl/loaders/dyld.c,
libltdl/loaders/load_add_on.c, libltdl/loaders/loadlibrary.c,
libltdl/loaders/preopen.c, libltdl/loaders/shl_load.c: For at
least gcc 4.8.3 and 4.9.1, __attribute__((__unused)) should
follow the unused parameter declaration.
* NO-THANKS: Add Дилян Палаузов.
Reported by Дилян Палаузов

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 NO-THANKS |1 +
 libltdl/loaders/dld_link.c|   10 +-
 libltdl/loaders/dlopen.c  |8 
 libltdl/loaders/dyld.c|4 ++--
 libltdl/loaders/load_add_on.c |   10 +-
 libltdl/loaders/loadlibrary.c |   10 +-
 libltdl/loaders/preopen.c |   12 ++--
 libltdl/loaders/shl_load.c|   10 +-
 libltdl/ltdl.c|2 +-
 9 files changed, 34 insertions(+), 33 deletions(-)

diff --git a/NO-THANKS b/NO-THANKS
index b67d291..dc33834 100644
--- a/NO-THANKS
+++ b/NO-THANKS
@@ -138,3 +138,4 @@ Václav Zeman   vhais...@gmail.com
 Warren Dodge   warren.l.do...@tektronix.com
 Xavier Pianet  xav...@xingo.com
 Юрий Андреевич Пухальский   p...@cryptopro.ru
+Дилян Палаузовdilyan.palau...@aegee.org
diff --git a/libltdl/loaders/dld_link.c b/libltdl/loaders/dld_link.c
index c5fe3ff..e0692c4 100644
--- a/libltdl/loaders/dld_link.c
+++ b/libltdl/loaders/dld_link.c
@@ -97,7 +97,7 @@ get_vtable (lt_user_data loader_data)
 /* A function called through the vtable when this loader is no
longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -107,8 +107,8 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
loader.  Returns an opaque representation of the newly opened
module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
- lt_dladvise LT__UNUSED advise)
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
+ lt_dladvise advise LT__UNUSED)
 {
   lt_module module = lt__strdup (filename);
 
@@ -124,7 +124,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char 
*filename,
 /* A function called through the vtable when a particular module
should be unloaded.  */
 static int
-vm_close (lt_user_data LT__UNUSED loader_data, lt_module module)
+vm_close (lt_user_data loader_data LT__UNUSED, lt_module module)
 {
   int errors = 0;
 
@@ -144,7 +144,7 @@ vm_close (lt_user_data LT__UNUSED loader_data, lt_module 
module)
 /* A function called through the vtable to get the address of
a symbol loaded from a particular module.  */
 static void *
-vm_sym (lt_user_data LT__UNUSED loader_data, lt_module LT__UNUSED module,
+vm_sym (lt_user_data loader_data LT__UNUSED, lt_module module LT__UNUSED,
const char *name)
 {
   void *address = dld_get_func (name);
diff --git a/libltdl/loaders/dlopen.c b/libltdl/loaders/dlopen.c
index b79df3e..eb4391d 100644
--- a/libltdl/loaders/dlopen.c
+++ b/libltdl/loaders/dlopen.c
@@ -152,7 +152,7 @@ get_vtable (lt_user_data loader_data)
 /* A function called through the vtable when this loader is no
longer needed by the application.  */
 static int
-vl_exit (lt_user_data LT__UNUSED loader_data)
+vl_exit (lt_user_data loader_data LT__UNUSED)
 {
   vtable = NULL;
   return 0;
@@ -163,7 +163,7 @@ vl_exit (lt_user_data LT__UNUSED loader_data)
loader.  Returns an opaque representation of the newly opened
module for processing with this loader's other vtable functions.  */
 static lt_module
-vm_open (lt_user_data LT__UNUSED loader_data, const char *filename,
+vm_open (lt_user_data loader_data LT__UNUSED, const char *filename,
  lt_dladvise advise)
 {
   int  module_flags = LT_LAZY_OR_NOW;
@@ -245,7 +245,7 @@ vm_open (lt_user_data LT__UNUSED loader_data, const char 
*filename,
 /* A function called 

[SCM] GNU Libtool branch, master, updated. v2.4.4-9-g8727e07

2014-12-04 Thread Gary V. Vaughan
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  8727e07a166f6822751a4d719fff9a1094ce1619 (commit)
  from  9f52eb3d6c69d1cecf8f938ba0be3e7171404261 (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 8727e07a166f6822751a4d719fff9a1094ce1619
Author: Gary V. Vaughan g...@gnu.org
Date:   Thu Dec 4 17:44:41 2014 +

libtool: for 64bit GNU arches, add /lib64 and /usr/lib64 to 
sys_lib_dlsearch_path.

* m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) linux*, k*bsd*-gnu
kopensolaris*-gnu, gnu*: If $host_cpu contains 64, add /lib64
and /usr/lib64 to sys_lib_dlsearch_path_spec.
Reported by Orion Poplawski, Christian Rössel, Olly Betts et. al.

Signed-off-by: Gary V. Vaughan g...@gnu.org

---

Summary of changes:
 NEWS  |3 +++
 m4/libtool.m4 |8 
 2 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index be3c7f4..6d48d28 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,9 @@ NEWS - list of user-visible changes between releases of GNU 
Libtool
 ia64-hp-hpux*, because the default system runtime loader path does
 not contain them.
 
+  - For various GNU/Linux (and other GNU OSes) on 64bit glibc/ELF hosts,
+explicit /lib64 and /usr/lib64 rpaths are no longer necessary.
+
 
 * Noteworthy changes in release 2.4.4 (2014-11-29) [stable]
 
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 2bbf01b..fd4dfb4 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2796,6 +2796,14 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
 lt_ld_extra=`awk '/^include / { system(sprintf(cd /etc; cat %s 
2/dev/null, \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }'  
/etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[]/d;s/[:,  ]/ 
/g;s/=[^=]*$//;s/=[^= ]* / /g;s///g;/^$/d' | tr '\n' ' '`
 sys_lib_dlsearch_path_spec=/lib /usr/lib $lt_ld_extra
   fi
+  # Ideally we could use /sbin/ldconfig to report what directories are
+  # searched, but (aside from not being certain /sbin/ldconfig is
+  # available) Fedora on 64bit does not report /usr/lib64, even though
+  # it is searched at run-time.
+  case $host_cpu in
+# match at least x86_64, ia64, powerpc64*
+*64*) sys_lib_dlsearch_path_spec=/lib64 /usr/lib64 
$sys_lib_dlsearch_path_spec ;;
+  esac
 
   # We used to test for /lib/ld.so.1 and disable shared libraries on
   # powerpc, because MkLinux only supported shared libraries with the


hooks/post-receive
-- 
GNU Libtool