This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]