Re: update_excuses.html
Rob Browning <rlb@defaultvalue.org> writes:
> /bin/sh ./libtool --mode=link gcc -g -O2 -o libltdlc.la ltdl.lo -ldl
> rm -fr .libs/libltdlc.la .libs/lib.* .libs/lib.*
> ar cru
> Usage: ar [-X32_64] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name] [count] archive-file file...
It appears that this may be because ./libtool is being created with
what looks like improper quoting. Near the top of the file we have
# Commands used to build and install an old-style archive.
RANLIB="ranlib"
old_archive_cmds="$AR cru $oldlib$oldobjs~$RANLIB $oldlib"
old_postinstall_cmds="$RANLIB $oldlib~chmod 644 $oldlib"
Note the double quotes around the variable values. This causes
$oldlib to be expanded only once, during libtool initialization,
rather than whenever it's used. Changing the double-quotes to single
quotes fixes this problem, but then there's the gcc problem later on
which I suspect is related.
Does this ring any bells with anyone? I'm trying to figure out where
the mistranslation is. Is ltmain.sh doing the wrong thing when
generating ./libtool, or has something changed in one of our other
tools?
Thanks
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD
Reply to: