[SCM] GNU Libtool branch, master, updated. v2.2.10-183-g7206424
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 72064249b217a22626dd8da8a5a2ce7f12e4404d (commit) from a3ecc5f26f403c816b7efaa049fc5ff0e5bc0d22 (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 72064249b217a22626dd8da8a5a2ce7f12e4404d Author: Peter Rosin p...@lysator.liu.se Date: Mon Sep 13 09:48:57 2010 +0200 Prefer $NM @file when the toolchain isn't native to $build. * libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating the command line length and take the @file branch *if* the file names needs to be converted for the toolchain and the @file branch works. Fixes problems in stresstest.at when doing a cross from Cygwin to MinGW using MinGW native tools (a.k.a. a faked cross), and for the specific case of MSVC on Cygwin it makes the test pass. Signed-off-by: Peter Rosin p...@lysator.liu.se --- Summary of changes: ChangeLog | 11 +++ libltdl/config/ltmain.m4sh | 21 + 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 543623f..1697a1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2010-09-13 Peter Rosin p...@lysator.liu.se + + Prefer $NM @file when the toolchain isn't native to $build. + * libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating + the command line length and take the @file branch *if* the file + names needs to be converted for the toolchain and the @file + branch works. Fixes problems in stresstest.at when doing a cross + from Cygwin to MinGW using MinGW native tools (a.k.a. a faked + cross), and for the specific case of MSVC on Cygwin it makes the + test pass. + 2010-09-14 Eric Blake ebl...@redhat.com maint: ship .xz, not .lzma diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 6036f4f..18f0f39 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -7349,10 +7349,23 @@ EOF save_ifs=$IFS; IFS='~' for cmd1 in $cmds; do IFS=$save_ifs - eval cmd=\$cmd1\ - func_len $cmd - len=$func_len_result - if test $len -lt $max_cmd_len || test $max_cmd_len -le -1; then + # Take the normal branch if the nm_file_list_spec branch + # doesn't work or if tool conversion is not needed. + case $nm_file_list_spec~$to_tool_file_cmd in + *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) + try_normal_branch=yes + eval cmd=\$cmd1\ + func_len $cmd + len=$func_len_result + ;; + *) + try_normal_branch=no + ;; + esac + if test $try_normal_branch = yes \ + { test $len -lt $max_cmd_len \ + || test $max_cmd_len -le -1; } + then func_show_eval $cmd 'exit $?' skipped_export=false elif test -n $nm_file_list_spec; then hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-184-g3d4f9e3
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 3d4f9e324590737af07de73ce4d4eefea85fb16e (commit) from 72064249b217a22626dd8da8a5a2ce7f12e4404d (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 3d4f9e324590737af07de73ce4d4eefea85fb16e Author: Ralf Wildenhues ralf.wildenh...@gmx.de Date: Thu Sep 16 22:02:50 2010 +0200 tests: avoid localization failure due to unstable compiler messages. * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): Attempt to normalize temporary file names in error messages. Fixes 'localized compiler messages' test failure on Darwin when creating fat (multi-ABI) libraries. Signed-off-by: Ralf Wildenhues ralf.wildenh...@gmx.de --- Summary of changes: ChangeLog |8 tests/testsuite.at |7 +-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1697a1b..37f6c84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2010-09-16 Ralf Wildenhues ralf.wildenh...@gmx.de + + tests: avoid localization failure due to unstable compiler messages. + * tests/testsuite.at (LT_AT_NORMALIZE_COMPILER_OUTPUT): + Attempt to normalize temporary file names in error messages. + Fixes 'localized compiler messages' test failure on Darwin when + creating fat (multi-ABI) libraries. + 2010-09-13 Peter Rosin p...@lysator.liu.se Prefer $NM @file when the toolchain isn't native to $build. diff --git a/tests/testsuite.at b/tests/testsuite.at index ea13ec9..c450e10 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -240,10 +240,13 @@ esac]) # - distcc process numbers, # - ccache file location, # - newline encoding, -# - location of the libtool script. +# - location of the libtool script, +# - error messages involving unstable temporary file names. m4_define([LT_AT_NORMALIZE_COMPILER_OUTPUT], [_ltbase=`$ECHO $LIBTOOL | sed 's,^.*/,,'` -[sed /^distcc\[[0-9]*\]/d; /^$_ltbase: compile/d $1 $1.t] +[sed /^distcc\[[0-9]*\]/d + /^$_ltbase: compile/d + s/\(tmp\/\{1,\}cc\)\([a-zA-Z0-9_]\{1,\}\)/\1-normalized-tmpname/g $1 $1.t] LT_AT_UNIFY_NL([$1.t], [m4_default([$2], [$1])])[]dnl ]) hooks/post-receive -- GNU Libtool
[SCM] GNU Libtool branch, master, updated. v2.2.10-185-g254f528
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 254f5280e6cb6f69b17b581e0febbb73cd02b606 (commit) from 3d4f9e324590737af07de73ce4d4eefea85fb16e (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 254f5280e6cb6f69b17b581e0febbb73cd02b606 Author: Charles Wilson libt...@cwilson.fastmail.fm Date: Thu Sep 16 22:53:47 2010 -0400 Fix sh.test failure introduced in 72064249 * libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor syntax. Signed-off-by: Charles Wilson libt...@cwilson.fastmail.fm --- Summary of changes: ChangeLog |6 ++ libltdl/config/ltmain.m4sh |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 37f6c84..44a76e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-09-16 Charles Wilson libt...@cwilson.fastmail.fm + + Fix sh.test failure introduced in 72064249 + * libltdl/config/ltmain.m4sh (func_mode_link): Avoid poor + syntax. + 2010-09-16 Ralf Wildenhues ralf.wildenh...@gmx.de tests: avoid localization failure due to unstable compiler messages. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 18f0f39..7bbca85 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -7362,7 +7362,7 @@ EOF try_normal_branch=no ;; esac - if test $try_normal_branch = yes \ + if test $try_normal_branch = yes \ { test $len -lt $max_cmd_len \ || test $max_cmd_len -le -1; } then hooks/post-receive -- GNU Libtool