[SCM] GNU Libtool branch, master, updated. v2.2.10-186-g301c4cf
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 301c4cf24f5ddaa565ffb773906247deb1319aa2 (commit) from 254f5280e6cb6f69b17b581e0febbb73cd02b606 (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 301c4cf24f5ddaa565ffb773906247deb1319aa2 Author: Charles Wilson libt...@cwilson.fastmail.fm Date: Fri Sep 17 12:28:46 2010 -0400 Document libtool variable to_host_file_cmd. * doc/libtool.texi (libtool script contents:to_host_file_cmd): Document variable. (libtool script contents:to_tool_file_cmd): Prefer `build platform' to `build system'; Ditto `host platform'. Signed-off-by: Charles Wilson libt...@cwilson.fastmail.fm --- Summary of changes: ChangeLog|8 doc/libtool.texi | 14 -- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44a76e2..334a5d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-09-17 Charles Wilson libt...@cwilson.fastmail.fm + + Document libtool variable to_host_file_cmd. + * doc/libtool.texi (libtool script contents:to_host_file_cmd): + Document variable. + (libtool script contents:to_tool_file_cmd): Prefer `build platform' + to `build system'; Ditto `host platform'. + 2010-09-16 Charles Wilson libt...@cwilson.fastmail.fm Fix sh.test failure introduced in 72064249 diff --git a/doc/libtool.texi b/doc/libtool.texi index a3555dc..0d3ff7f 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -6822,11 +6822,21 @@ Linker flag (passed through the C compiler) used to generate thread-safe libraries. @end defvar +...@defvar to_host_file_cmd +If the toolchain is not native to the build platform (e.g.@: if you are using +MSYS to drive the scripting, but are using the MinGW native Windows compiler) +this variable describes how to convert file names from the format used by the +build platform to the format used by host platform. Normally set to +...@samp{func_convert_file_noop}, libtool will autodetect most cases in which +other values should be used. On rare occasions, it may be necessary to override +the autodetected value (@pxref{Cygwin to MinGW Cross}). +...@end defvar + @defvar to_tool_file_cmd -If the toolchain is not native to the build system (e.g.@: if you are using +If the toolchain is not native to the build platform (e.g.@: if you are using some Unix to drive the scripting together with a Windows toolchain running in Wine) this variable describes how to convert file names from the format -used by the build system to the format used by the toolchain. Normally set +used by the build platform to the format used by the toolchain. Normally set to @samp{func_convert_file_noop}. @end defvar hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-187-g69e7767
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 69e77671311ab54de44ba24ff5dbf5568bf1221d (commit) from 301c4cf24f5ddaa565ffb773906247deb1319aa2 (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 69e77671311ab54de44ba24ff5dbf5568bf1221d Author: Charles Wilson libt...@cwilson.fastmail.fm Date: Fri Sep 17 12:23:28 2010 -0400 Fix order of PATH manipulation in cwrapper and shwrapper * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call lt_update_exe_path before lt_update_lib_path, to ensure that the temporary rpath values (which include the OBJDIRs of uninstalled libtool libraries) precede installation and final -rpath directories. (func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending $temp_rpath to $shlibpath_var; similar rationale as above. Reported by Jon Turney jon.tur...@dronecode.org.uk Signed-off-by: Charles Wilson libt...@cwilson.fastmail.fm --- Summary of changes: ChangeLog | 11 +++ libltdl/config/ltmain.m4sh | 26 +- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 334a5d0..17e50cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,16 @@ 2010-09-17 Charles Wilson libt...@cwilson.fastmail.fm + Fix order of PATH manipulation in cwrapper and shwrapper + * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main): Call + lt_update_exe_path before lt_update_lib_path, to ensure that the + temporary rpath values (which include the OBJDIRs of uninstalled + libtool libraries) precede installation and final -rpath directories. + (func_emit_wrapper): Prepend $dllsearchpath to PATH before prepending + $temp_rpath to $shlibpath_var; similar rationale as above. + Reported by Jon Turney jon.tur...@dronecode.org.uk + +2010-09-17 Charles Wilson libt...@cwilson.fastmail.fm + Document libtool variable to_host_file_cmd. * doc/libtool.texi (libtool script contents:to_host_file_cmd): Document variable. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 7bbca85..4f5bbb3 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -3293,6 +3293,18 @@ func_exec_program () if test -f \\$progdir/\$program\; then + # fixup the dll searchpath if we need to. + # + # Fix the DLL searchpath if we need to. Do this before prepending + # to shlibpath, because on Windows, both are PATH and uninstalled + # libraries must come first. + if test -n $dllsearchpath; then + $ECHO \ +# Add the dll search path components to the executable PATH +PATH=$dllsearchpath:\$PATH + + fi + # Export our shlibpath_var if we have one. if test $shlibpath_overrides_runpath = yes test -n $shlibpath_var test -n $temp_rpath; then $ECHO \ @@ -3307,14 +3319,6 @@ func_exec_program () fi - # fixup the dll searchpath if we need to. - if test -n $dllsearchpath; then - $ECHO \ -# Add the dll search path components to the executable PATH -PATH=$dllsearchpath:\$PATH - - fi - $ECHO \ if test \\$libtool_execute_magic\ != \$magic\; then # Run the actual program with our arguments. @@ -3703,8 +3707,12 @@ EOF lt_setenv (BIN_SH, xpg4); /* for Tru64 */ lt_setenv (DUALCASE, 1); /* for MSK sh */ - lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); + /* Update the DLL searchpath. EXE_PATH_VALUE ($dllsearchpath) must + be prepended before (that is, appear after) LIB_PATH_VALUE ($temp_rpath) + because on Windows, both *_VARNAMEs are PATH but uninstalled + libraries must come first. */ lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE); + lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE); lt_debugprintf (__FILE__, __LINE__, (main) lt_argv_zero: %s\n, nonnull (lt_argv_zero)); hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-189-g9797b61
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 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca (commit) via d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c (commit) from 69e77671311ab54de44ba24ff5dbf5568bf1221d (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 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca Merge: 69e7767 d4bf222 Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Fri Sep 17 21:48:00 2010 +0200 Merge branch 'lto' * lto: LTO: consistently accept -fwhopr* and -flto* for GCC. --- Summary of changes: ChangeLog |7 +++ libltdl/config/ltmain.m4sh |4 ++-- libltdl/m4/libtool.m4 |2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17e50cf..326b658 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-09-17 Ralf Wildenhues ralf.wildenh...@gmx.de + + LTO: consistently accept -fwhopr* and -flto* for GCC. + * libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match + -flto*. + 2010-09-17 Charles Wilson libt...@cwilson.fastmail.fm Fix order of PATH manipulation in cwrapper and shwrapper diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 4f5bbb3..0418007 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5048,10 +5048,10 @@ func_mode_link () # @fileGCC response files # -tp=*Portland pgcc target processor selection # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-flto*|-fwhopr|-fuse-linker-plugin) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval $arg arg=$func_quote_for_eval_result func_append compile_command $arg diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 3a4e757..1a5b85d 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6854,7 +6854,7 @@ _LT_EOF _lt_libdeps_save_CFLAGS=$CFLAGS case $CC $CFLAGS in #( -*\ -flto\ *) CFLAGS=$CFLAGS -fno-lto ;; +*\ -flto*\ *) CFLAGS=$CFLAGS -fno-lto ;; *\ -fwhopr*\ *) CFLAGS=$CFLAGS -fno-whopr ;; esac hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, lto, updated. v2.2.10-157-gd4bf222
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, lto has been updated via d4bf222845e1fe33ee5bd4c07985280dbfd2aa9c (commit) from 327f014068d2f709f0e38282d6b36725573a45c7 (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 - --- Summary of changes: ChangeLog |7 +++ libltdl/config/ltmain.m4sh |4 ++-- libltdl/m4/libtool.m4 |2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3819e0b..e6decf2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-09-17 Ralf Wildenhues ralf.wildenh...@gmx.de + + LTO: consistently accept -fwhopr* and -flto* for GCC. + * libltdl/config/ltmain.m4sh (func_mode_link): Accept -fwhopr*. + * libltdl/m4/libtool.m4 (_LT_SYS_HIDDEN_LIBDEPS): Also match + -flto*. + 2010-09-02 Ralf Wildenhues ralf.wildenh...@gmx.de tests: avoid spurious test failure due to library mode on HP-UX. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 5ada0c1..d74b598 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -5014,10 +5014,10 @@ func_mode_link () # @fileGCC response files # -tp=*Portland pgcc target processor selection # --sysroot=* for sysroot support - # -O*, -flto*, -fwhopr, -fuse-linker-plugin GCC link-time optimization + # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-flto*|-fwhopr|-fuse-linker-plugin) + -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval $arg arg=$func_quote_for_eval_result func_append compile_command $arg diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 01cd66a..c2803cd 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -6836,7 +6836,7 @@ _LT_EOF _lt_libdeps_save_CFLAGS=$CFLAGS case $CC $CFLAGS in #( -*\ -flto\ *) CFLAGS=$CFLAGS -fno-lto ;; +*\ -flto*\ *) CFLAGS=$CFLAGS -fno-lto ;; *\ -fwhopr*\ *) CFLAGS=$CFLAGS -fno-whopr ;; esac hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-190-ga93b848
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 a93b8481087b3eb9675ea9e6ca15b09e7e6901ae (commit) from 9797b616fc18cedcb0f9ed2dcfddb77a3c452bca (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 a93b8481087b3eb9675ea9e6ca15b09e7e6901ae Author: Peter Rosin p...@lysator.liu.se Date: Fri Sep 17 16:15:04 2010 +0200 Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2] [pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++. Signed-off-by: Peter Rosin p...@lysator.liu.se --- Summary of changes: ChangeLog |6 ++ libltdl/m4/libtool.m4 |6 ++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 326b658..514a20e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-17 Peter Rosin p...@lysator.liu.se + + Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32. + * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2] + [pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++. + 2010-09-17 Ralf Wildenhues ralf.wildenh...@gmx.de LTO: consistently accept -fwhopr* and -flto* for GCC. diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 1a5b85d..a8b07bf 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -3873,6 +3873,12 @@ m4_if([$1], [CXX], [ ;; esac ;; + mingw* | cygwin* | os2* | pw32* | cegcc*) + # This hack is so that the source file can tell whether it is being + # built for inclusion in a dll (and should export symbols for example). + m4_if([$1], [GCJ], [], + [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) + ;; dgux*) case $cc_basename in ec++*) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-191-g92d9818
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 92d9818d7eb8ca4bb1bc775cd397255beb2481d8 (commit) from a93b8481087b3eb9675ea9e6ca15b09e7e6901ae (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 92d9818d7eb8ca4bb1bc775cd397255beb2481d8 Author: Peter Rosin p...@lysator.liu.se Date: Fri Sep 17 22:31:08 2010 +0200 tests: actually detect missing 'test' in 'if $foo = ...'. * tests/sh.test: Remove extra backslash in regex. Signed-off-by: Peter Rosin p...@lysator.liu.se --- Summary of changes: ChangeLog |3 +++ tests/sh.test |6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 514a20e..e6984ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2010-09-17 Peter Rosin p...@lysator.liu.se + tests: actually detect missing 'test' in 'if $foo = ...'. + * tests/sh.test: Remove extra backslash in regex. + Copy over DLL_EXPORT handling from C to C++ for non-GCC on w32. * libltdl/m4/libtool.m4 (_LT_COMPILER_PIC) [mingw, cygwin, os2] [pw32, cegcc]: Copy over the DLL_EXPORT handling from C to C++. diff --git a/tests/sh.test b/tests/sh.test index 6d2fa20..5324b31 100755 --- a/tests/sh.test +++ b/tests/sh.test @@ -2,8 +2,8 @@ # sh.test - check for some nonportable or dubious or undesired shell # constructs in shell scripts. # -# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software -# Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2010 Free +# Software Foundation, Inc. # Written by Gary V. Vaughan, 2003 # # This file is part of GNU Libtool. @@ -31,7 +31,7 @@ status=$EXIT_SUCCESS # Check for bad binary operators. -if $EGREP -n -e 'if[ ]+['\'']?\\$[^ ]+[ ]+(=|-[lg][te]|-eq|-ne)' $scripts; then +if $EGREP -n -e 'if[ ]+['\'']?\$[^ ]+[ ]+(=|-[lg][te]|-eq|-ne)' $scripts; then echo use \`if test \$something =' instead of \`if \$something =' status=$EXIT_FAILURE fi hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-192-gbb8ae2a
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 bb8ae2a29a769877ec1b40155dfe53ad47228185 (commit) from 92d9818d7eb8ca4bb1bc775cd397255beb2481d8 (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 bb8ae2a29a769877ec1b40155dfe53ad47228185 Author: Gary V. Vaughan g...@gnu.org Date: Thu Sep 16 09:47:45 2010 +0700 maint: improve README instructions for fetching latest version. * README, README-alpha (Obtaining the Latest Sources): New section, describing use of savannah repositories and bootstrap. * README.alpha (Reporting Bugs): Remove git instructions in favour of a reference to the new `Obtaining the Latest Sources' section. --- Summary of changes: ChangeLog|9 README | 47 ++- README.alpha | 61 +++-- 3 files changed, 104 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index e6984ae..d72d9e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -58,6 +58,15 @@ cross), and for the specific case of MSVC on Cygwin it makes the test pass. +2010-09-15 Gary V. Vaughan g...@gnu.org + + maint: improve README instructions for fetching latest version. + * README, README-alpha (Obtaining the Latest Sources): New + section, describing use of savannah repositories and bootstrap. + * README.alpha (Reporting Bugs): Remove git instructions in + favour of a reference to the new `Obtaining the Latest Sources' + section. + 2010-09-14 Eric Blake ebl...@redhat.com maint: ship .xz, not .lzma diff --git a/README b/README index 0c13518..16328bb 100644 --- a/README +++ b/README @@ -113,7 +113,51 @@ If you wish to report test failures to the libtool list, you need to send the file `tests/testsuite.log' to the bug report mailing list, bug-libt...@gnu.org. -4. Version Numbering +4. Obtaining the Latest Sources +=== + +* The master libtool repository is stored in git. + + If you are a member of the savannah group for GNU Libtool, a writable + copy of the libtool repository can be obtained by: + +git clone savannah-user@git.sv.gnu.org:/srv/git/libtool.git + + If you are behind a firewall that blocks the git protocol, you may + find it useful to use + +git config --global url.http://git.sv.gnu.org/r/.insteadof \ + git://git.sv.gnu.org/ + + to force git to transparently rewrite all savannah git references to + use http. + + If you are not a member of the savannah group for GNU Libtool, you can + still fetch a read-only copy with either: + +git clone git://git.sv.gnu.org/libtool.git + + or using the CVS pserver protocol: + +cvs -d:pserver:anonym...@pserver.git.sv.gnu.org:/srv/git/libtool.git \ +co -d libtool HEAD + +* Before you can build from git, you need to bootstrap. This requires: + - Autoconf 2.62 or later + - Automake 1.11.1 or later + - Help2man 1.29 or later + - Xz 4.999.8beta or later (from http://tukaani.org/xz) + - Texinfo 4.8 or later + - Any prerequisites of the above (such as m4, perl, tex) + + Note that these bootstrapping dependencies are much stricter than + those required to use a destributed release for your own packages. + After installation, GNU Libtool is designed to work either standalone, + or optionally with: + - Autoconf 2.59 or later + - Automake 1.9.6 or later + +5. Version Numbering People have complained that they find the version numbering scheme under @@ -168,7 +212,6 @@ things: For more details about version numbers, see: http://www.gnu.org/software/libtool/contribute.html - -- Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. diff --git a/README.alpha b/README.alpha index 2632e75..a58167e 100644 --- a/README.alpha +++ b/README.alpha @@ -21,21 +21,17 @@ subject line including the string `[PLATFORM]'. = If this distribution doesn't work for you, before you report the -problem, please try upgrading to the latest version from git first: - - git clone git://git.savannah.gnu.org/libtool.git - cd libtool - ./bootstrap +problem, please try upgrading to the latest version first (see +`Obtaining the latest sources' below). The `bootstrap' script sets up the source directory for you to hack, -though it may take quite some time to run. To use it, you need a recent -(maybe yet to be released) version of both Autoconf and Automake. If -you don't intend to run the test suite,