[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exceute mode fails in multi-language branch
From: |
Gary V . Vaughan |
Subject: |
Re: exceute mode fails in multi-language branch |
Date: |
Fri, 29 Jun 2001 03:05:26 +0100 |
On Wednesday 06 June 2001 7:56 am, Christian Vogler wrote:
> On the multi-language-branch, the execute mode fails for me. The exact
> libtool version is:
>
> ltconfig (GNU libtool) 1.4a (1.641.2.257 2001/05/28 20:59:25)
>
> The failure happens with, for example, the following command:
>
> address@hidden src]$ ../../libtool --debug --mode=execute ldd glftrack
>
> [[snippage]]
>
> Something is going wrong with the quoting of $args here. The following
> patch fixes the problem for me. I didn't test if it breaks anything
> else, though.
>
> Regards
> - Christian
>
> --- snip --
>
> Index: ltmain.in
> ===================================================================
> RCS file: /cvsroot/libtool/libtool/ltmain.in,v
> retrieving revision 1.200.2.68
> diff -u -u -5 -r1.200.2.68 ltmain.in
> --- ltmain.in 2001/05/20 18:09:55 1.200.2.68
> +++ ltmain.in 2001/06/06 06:46:23
> @@ -5051,11 +5051,11 @@
> if test "${save_LANG+set}" = set; then
> LANG="$save_LANG"; export LANG
> fi
>
> # Now prepare to actually exec the command.
> - exec_cmd='"$cmd"$args'
> + exec_cmd="\$cmd $args"
> else
> # Display what would be done.
> if test -n "$shlibpath_var"; then
> eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\""
> $echo "export $shlibpath_var"
This patch caused bug reports, and has been reverted. Now that MLB has been
merged into HEAD, would you try the latest HEAD revision to see whether you
still have the problem. If so, please send the libtool --debug to me (not
the list) and I'll see if I can figure out what is happening.
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/