[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-optimize
Subject:    Re: [PATCH] libkdeinit symbol pruning
From:       Karl Vogel <karl.vogel () seagha ! com>
Date:       2004-07-18 14:57:04
Message-ID: 200407181657.05243.karl.vogel () seagha ! com
[Download RAW message or body]

On Sunday 18 July 2004 16:25, Karl Vogel wrote:
> It seems that the extra symbol problem is not only restricted to kcm
> plugins:
>
> $ objdump -CT /opt/kde/lib/libkdeinit_*.so|egrep "g +DF .text"|grep -v
> kdemain|wc -l 7682

Time for another before and after... This is a rebuild of kdebase with the
patch:

Before:

$ du -sk /opt/kde/lib/libkdeinit_*.so | awk ' { total += $1; } END { print "Total " total;}'
Total 39164

After:

$ du -sk /opt/kde/lib/libkdeinit_*.so | awk ' { total += $1; } END { print "Total " total;}'
Total 38396

Result: 768Kb saved.


NOTE: all libs were prelinked again before running the stats.. as prelink
increases the filesize also.


Since I only rebuild kdebase, there are still some kdeinit libs with extra symbols:

$ objdump -CT /opt/kde/lib/libkdeinit_*.so|egrep "g +DF .text"|grep -v kdemain|wc -l
2034

_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic