libtool-patches
[Top][All Lists]
Advanced

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

Re: [MLB] Fix for arg list too long (another [final?] attempt)


From: Alexandre Oliva
Subject: Re: [MLB] Fix for arg list too long (another [final?] attempt)
Date: 22 Feb 2001 04:24:47 -0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

On Feb 20, 2001, Robert Boehne <address@hidden> wrote:

> I think the problem may be that $CXX is getting a command from
> libtool that isn't too long, but that cxx is passing a
> command line to ld that IS too long.  Anyone agree?

Yep, that's the most likely reason.  We should probably reserve some
bytes for extra arguments passed by the compiler.  I can't think of
any good rule, though...  Maybe set usable_cmd_len to
max(max_cmd_len-1024,max_cmd_len/2)?

> I do intend to get all these quirks fixed, and to make sure that
> goofy characters will still work, but I want to get the main
> framework out there so that more eyes will see it.

Ok.  One more thing to keep in mind: it would probably be good to get
max_cmd_len cached eventually.

        
>       * ltconfig.in: Add a test to find the approximate limit
>         to the length of command line arguments.  The number
>         calculated here should always be lower than the actual
>         limit.

>         * ltmain.in: Test the length of the command line to be
>         executed and use an incremtnal linking scheme if the
>         command is too long to be interpreted without error.

Ok, but without the line-break, since the modifications are part of a
single change.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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