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 (Finally a patch!)


From: Alexandre Oliva
Subject: Re: [MLB] Fix for arg list too long (Finally a patch!)
Date: 15 Feb 2001 15:00:49 -0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

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

> Alexandre Oliva wrote:
>> 
>> On Feb 13, 2001, Robert Boehne <address@hidden> wrote:
>> 
>> > +              output=$output_objdir/all_objs${k}.$objext
>> 
>> This won't work in parallel builds.  You must name the temporary
>> object files after the output.

> By named after, do you mean somthing like "all_objs$output" ?
> Also, could you explain why this would break a paralell build?

Think of multiple huge libraries being linked concurrently in the same
directory.  All of them would use all_objs0.o, then all_objs1.o, etc.
If this occurs at the same time, things break.

I suggest $output-${k}.$objext.  Oh, and you may add commands to
remove these temporary files when they've already been used.
Otherwise, we may end up using quadratic space.

> Ah, yes, I see.  I had taken the approach that I should eval more
> rather than less, but I see that I need to eval _exactly_ the
> right number of times.  I will add a test for this in the final
> version.

Thanks!

-- 
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]