libtool
[Top][All Lists]
Advanced

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

Re: duplicate dependencies [was: RE: Very slow links: > 1 hour to lin k


From: Rob Browning
Subject: Re: duplicate dependencies [was: RE: Very slow links: > 1 hour to lin k single executable - can we help?]
Date: Fri, 09 Nov 2001 12:11:05 -0600
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

"Boehne, Robert" <address@hidden> writes:

> This is a known problem that results from supporting multiple
> dependent archive libraries.  In some cases libtool can't strip the
> redundant -lfoo -lbar in dependencies.  I would propose that libtool
> would strip all duplicate dependencies (as it used to do) unless a
> command line flag is given.  I did pose this question a few weeks
> ago but didn't get any response.  Time permitting, I'll post a patch
> that would require the KDE developers (and others in this situation)
> to add a flag that preserves all of the dependencies when linking.
> In my project, compile times go from 6 hours to infinity.  ;) So
> I've made my own ltmain.sh that won't preserve any duplicate
> dependencies.  As soon as I can find the time I'll work this into a
> patch.  In the mean time, anyone care to suggest what the flag
> should be?  --preserve-dup-deps ???

As another data point.  I we installed your ltmain.sh in gnucash and
link times on a 1Ghz athlon went from two hours to ten minutes, and
everything still seems to work OK.

Thanks.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD



reply via email to

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