This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New libtool is in the GCC and Src trees.
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: dje at watson dot ibm dot com
- Cc: bonzini at gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 May 2007 13:13:12 -0700 (PDT)
- Subject: Re: New libtool is in the GCC and Src trees.
> Paolo> What's the maximum max_cmd_line that works?
>
> 32768 works. 16384 probably would work as well.
>
> >> Any idea why the new libtool is creating such large commandlines?
>
> Paolo> Can you send a diff between the make output for the old and new libtools?
>
> The Make output isn't substantially different. Presumably the
> difference is the internal command generated by libtool.
>
> David
Maybe we should make libtool smarter about finding max_cmd_len? (len,
not line) Looking at libtool.m4 the default setup may be conservative
for AIX:
# If test is not a shell built-in, we'll probably end up computing a
# maximum length that is only half of the actual maximum length, but
# we can't tell.
Some of the platforms (bsd*, darwin, sysv*) use different mechinisms for
determining max_cmd_len. HP-UX and Linux both seem to understand
'getconf ARG_MAX', I wonder if it would make sense to teach libtool how
to use getconf for setting max_cmd_len?
I'll ask about using getconf on the libtool mailing list.
Steve Ellcey
sje@cup.hp.com