On Thu, Sep 04, 2003 at 02:43:12PM +0200, Lars Gullik Bjønnes wrote:
> Kuba Ober <[EMAIL PROTECTED]> writes:
> 
> | On czwartek 04 wrzesieñ 2003 09:25 am, Angus Leeming wrote:
> >> On my 2.7GHz machine the link step now takes 1:27 (xforms), 1:36 (qt). This
> >> is making it somewhat painful to code :-( Could we think about revisiting
> >> partial linking et al.?
> >
> | Unfortunately, after looking at it again, it seems that at least on RH9 
> | partial linking gives almost no benefit (a couple percent maybe) :(
> >
> | I guess it may be worthwhile to look at linker code, try profiling and see 
> | where it spends most of its time :)
> >
> | I guess that qt 4 will reduce linking time somewhat, other than that boost is 
> | probably the scapegoat to blame.
> 
> No it is not!
> 
> The amount of debugging information in the object files are to blame.

Do you have any idea where this comes from?

.../lyx-build-debug/src > nm lyx | cut -d ' ' -f 3 | wc
  13725   13183  685919
.../lyx-build-debug/src > nm lyx | cut -d ' ' -f 3 | grep boost | wc
   2150    2150  216516

.../lyx-build-debug/src > nm `find . -name '*.o' ` | cut -d ' ' -f 3 | wc
  45122   21901 1104130
.../lyx-build-debug/src > nm `find . -name '*.o' ` | cut -d ' ' -f 3 | grep boost | wc 
   4035    4035  335711


This seems to indicate by a rough estimation that about 30% of the
symbol information is related somehow to boost.

Am I mis-reading that output?

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to