[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: $max_cmd_len unset in libtool-1.5
From: |
Sam Steingold |
Subject: |
Re: $max_cmd_len unset in libtool-1.5 |
Date: |
Thu, 02 Dec 2004 18:26:39 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) |
> * Martin MOKREJŠ <address@hidden> [2003-05-22 01:39:58 +0200]:
>
> I found there's a bug in libtool-1.5. When compiling glib-2.2.1 on
> Tru64Unix 5.1A, I got errors from test(1) program "integer expression
> expected". That lead to:
>
> $ /bin/bash -x ../libtool --mode=relink cc -O2 -arch ev56 -pthread -o
> libgthread-2.0.la -rpath /software/@sys/usr/lib -version-info 200:1:200
> -export-dyynamic gthread-impl.lo -Wc,-pthread -lrt ../glib/libglib-2.0.la
> -lintl -L/usr/local/lib -L/software/@sys/usr/lib -L/usr/local/openssl/lib
> -L/usr/lib
> [...]
> + len=2554
> + test 2554 -le ''
> ../libtool: test: : integer expression expected
> + test '' -le -1
> ../libtool: test: : integer expression expected
> + echo 'creating reloadable object files...'
> creating reloadable object files...
> + test -z ''
> + save_libobjs= .libs/gthread-impl.o
> + save_output=libgthread-2.0.la
> [...]
>
> This points to the following part in generated libtool:
>
> grep max_cmd_len /afs/gsf.de/alpha_dux51/usr/share/libtool/ltmain.sh
> test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1;
> then
> test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then
> test "$len" -le "$max_cmd_len"; }; then
> test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1;
> then
> test "$len" -le "$max_cmd_len"; then
>
>
> Where is the value of $max_cmd_len being set? When I set manually
> max_cmd_len to some number(255), I don't get this message. But what should
> be the size?
I observe an identical problem with
$ ./libtool --version
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27)
on
$ uname -a
Darwin ppc-osx2.cf.sourceforge.net 6.8 Darwin Kernel Version 6.8: Wed Sep 10
15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh
powerpc
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Lisp suffers from being twenty or thirty years ahead of time.
- Re: $max_cmd_len unset in libtool-1.5,
Sam Steingold <=