bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ltmain.sh bug with use of save_arg


From: James E Wilson
Subject: ltmain.sh bug with use of save_arg
Date: Tue, 09 Nov 2004 19:14:23 -0800

This problem was reported to the gcc mailing list.
    http://gcc.gnu.org/ml/gcc/2004-11/msg00179.html

The ltmain.sh script, under objectlist), does
          if test -f "$arg"; then
            save_arg=$arg
            ...
          else
            func_fatal_error "link input file \`$save_arg' does not
exist"
which means the error message fails to print properly, because save_arg
was never set on the path that leads to the error message.  It should
use $arg instead of $save_arg.

I confirmed that this is still broken in libtool-1.9f.  I haven't tried
looking at the libtool-2.x series.

The ltmain.sh script in the 1.9f release says it was generated from the
ltmain.in file, but I see no ltmain.in file, though there is a
ltmain.m4sh file.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com






reply via email to

[Prev in Thread] Current Thread [Next in Thread]