Re: [PATCH 6/6] Simplify and improve safety of bootstrap process.

2010-09-01 Thread Gary V. Vaughan
On 1 Sep 2010, at 12:32, Ralf Wildenhues wrote: func_show_eval is still buggy in that it causes more filename expansion than we'd like to have (leading to commits like v2.2.10-48-g3ab9879), but yes, that shouldn't be an issue here. Ah... I had wondered what that was all about. It makes sense

Re: [PATCH 1/6] Add --gnulib-version and --news options to announce-gen.

2010-09-01 Thread Gary V. Vaughan
On 1 Sep 2010, at 12:25, Ralf Wildenhues wrote: Hello Gary, Hallo Ralf, * Gary V. Vaughan wrote on Wed, Sep 01, 2010 at 03:59:19AM CEST: On 1 Sep 2010, at 00:41, Ralf Wildenhues wrote: I personally find the M4SH_GETOPTS rather unreadable; it's a nice table, but I cannot make sense of the

Re: [PATCH 1/6] Add --gnulib-version and --news options to announce-gen.

2010-09-01 Thread Ralf Wildenhues
Hello Gary, * Gary V. Vaughan wrote on Wed, Sep 01, 2010 at 08:09:32AM CEST: On 1 Sep 2010, at 12:25, Ralf Wildenhues wrote: That didn't help to make it more readable, or cause less buggy code though. Well that's because the shared code in getopts.m4sh is still getting exposure. I think

Avoid leaking make flags into testsuite results.

2010-09-01 Thread Ralf Wildenhues
I'm committing the following bug fix, with code taken from automake/tests/defs.in and adapted for Libtool. It ought to fix about a third of all the failures in all the autobuild logs; e.g., tests 107 and 109 seen in this log: http://autobuild.josefsson.org/libtool/log-201008291316239205000.txt |

tests: fix localization test for GCC on HP-UX 11.00.

2010-09-01 Thread Ralf Wildenhues
http://autobuild.josefsson.org/libtool/log-20100829162778217.txt This patch fixes the spurious failure when the compiler is properly setup for localization but the 'diff' program isn't. :-) Cheers, Ralf tests: fix localization test for GCC on HP-UX 11.00. *

Re: [PATCH 1/6] Add --gnulib-version and --news options to announce-gen.

2010-09-01 Thread Ralf Wildenhues
Hello Gary, * Gary V. Vaughan wrote on Wed, Sep 01, 2010 at 09:49:01PM CEST: Well, libltdl also works well enough. No, it doesn't. I'm a good way into a complete rewrite... are you saying that you'd rather put up with the limitations of the current libltdl architecture than move to a

tests: avoid spurious pic_flag test failure on HP-UX 10.20.

2010-09-01 Thread Ralf Wildenhues
http://autobuild.josefsson.org/libtool/log-201008291316745734000.txt | 113. pic_flag.at:24: testing override pic_flag at configure time ... | ../../libtool/tests/pic_flag.at:36: $CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77 | stderr: | cc: warning 422: Unknown option f ignored. | cc:

[PATCH 0/7] Support for toolchains that are not $host-native.

2010-09-01 Thread Peter Rosin
Hi! I was going to hold off this until after I had run the testsuite one more time with the latest fixes, but the recent message from Gary made me post right away. By the Lay of Murphy, I'm sure I'll regret it... This series is a rebased and updated version of the patches posted in

[PATCH 1/7] Add file name conversion from $build to toolchain.

2010-09-01 Thread Peter Rosin
From 0c11bb2ae0f51acecddc97ad84a18f556d7a5f20 Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Tue, 31 Aug 2010 12:17:10 +0200 Subject: [PATCH 1/7] Add file name conversion from $build to toolchain. * configure.ac: Ensure to_tool_file_cmd is available to Makefile. *

[PATCH 2/7] Convert file names to toolchain format when linking.

2010-09-01 Thread Peter Rosin
From 6d6f0d24c51c7b4902452a312c5a377dae65d85a Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Sun, 29 Aug 2010 13:31:47 +0200 Subject: [PATCH 2/7] Convert file names to toolchain format when linking. * libltdl/config/ltmain.m4sh (func_mode_link): When exporting symbols and

[PATCH 3/7] Convert file names to toolchain format in $NM and $AR @files.

2010-09-01 Thread Peter Rosin
From c8a113b5db03bcc9b034019a749b8de0b75bfcf7 Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Sun, 29 Aug 2010 13:55:16 +0200 Subject: [PATCH 3/7] Convert file names to toolchain format in $NM and $AR @files. * libltdl/config/ltmain.m4sh (func_mode_link): When listing

[PATCH 7/7] Prefer $NM @file over calculating the cmd line length.

2010-09-01 Thread Peter Rosin
From 3181ad6033fd6798ee49b91c66b0e1c7eee6a98c Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Wed, 1 Sep 2010 22:13:12 +0200 Subject: [PATCH 7/7] Prefer $NM @file over calculating the cmd line length. * libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating the

[PATCH 6/7] Convert file name to toolchain format when invoking $NM.

2010-09-01 Thread Peter Rosin
From acf4b65fb20f86e0757f13a0dce11c1fb27411d3 Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Wed, 1 Sep 2010 22:03:23 +0200 Subject: [PATCH 6/7] Convert file name to toolchain format when invoking $NM. * libltdl/config/ltmain.m4sh (func_generate_dlsyms) (func_win32_libid,

[PATCH 5/7] Convert POSIX file names to toolchain format for MSVC

2010-09-01 Thread Peter Rosin
From f3aeb980aded1f4b71198316cd2a57b7b166ef79 Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Wed, 1 Sep 2010 21:23:03 +0200 Subject: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw] cl:

Re: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Ralf Wildenhues
* Peter Rosin wrote on Wed, Sep 01, 2010 at 10:33:59PM CEST: From 16232cc7ddfc4bab981a2fa2d87757c68832b32e Mon Sep 17 00:00:00 2001 From: Peter Rosin p...@lysator.liu.se Date: Sun, 29 Aug 2010 18:26:16 +0200 Subject: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path. *

Re: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Charles Wilson
On 9/1/2010 5:30 PM, Ralf Wildenhues wrote: * Peter Rosin wrote on Wed, Sep 01, 2010 at 10:33:59PM CEST: * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the fix_srcfile_path hook with a call to func_to_tool_file. * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin,mingw,pw32]

Re: [PATCH 1/7] Add file name conversion from $build to toolchain.

2010-09-01 Thread Charles Wilson
On 9/1/2010 4:32 PM, Peter Rosin wrote: +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, +[#assume ordinary cross tools, or native build. +lt_cv_to_tool_file_cmd=func_convert_file_noop +case $host in + *mingw* ) +case $build

Re: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Ralf Wildenhues
* Charles Wilson wrote on Wed, Sep 01, 2010 at 11:39:07PM CEST: On 9/1/2010 5:30 PM, Ralf Wildenhues wrote: * Peter Rosin wrote on Wed, Sep 01, 2010 at 10:33:59PM CEST: * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the fix_srcfile_path hook with a call to func_to_tool_file. *

Re: [PATCH] Path conversion documentation

2010-09-01 Thread Charles Wilson
On 8/30/2010 4:20 PM, Ralf Wildenhues wrote: * Charles Wilson wrote on Mon, Aug 30, 2010 at 09:45:00PM CEST: Thanks for the review. My pleasure. Pushed as attached. 'Course, I notice that I screwed up the date in the ChangeLog. Could the next person to commit a change to that file, please