Re: [OpenWrt-Devel] [RFC] mklibs.py integration

2009-08-07 Thread Felix Fietkau
Hi all,

I reworked and fixed the mklibs.py integration and it actually works
now. The reported 4KB space saving in the linker binary that florian
reported was just simple stripping, not actual relinking.
Here are the results with a slightly-bigger-than-standard configuration
on a mips target:

libuClibc-0.9.30.1.so - before: 401380, after: 253512
libm-0.9.30.1.so - before: 102128, after: 46900

There is no significant space saving on the other libraries yet.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [RFC] mklibs.py integration

2009-08-01 Thread Daniel Dickinson
On Sat, 25 Jul 2009 12:25:20 +0200
Florian Fainelli flor...@openwrt.org wrote:

 Hi all,
 
 Please find below a proof-of-concept of the mklibs.py reduction
 integration in OpenWrt. I have not been able to strip the uClibc
 loader more than 4KB out of 28KB (original size) but it might
 significantly better results with more softare installed in the
 rootfs. --- Index: Config.in

Doesn't mklibs.py remove portions of a library that are unused?
Wouldn't that mean that fewer programs would result in more removal
(due to more unused bits).   Or do you strip all libraries and not just
uClibc?

Regards,

Daniel
-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C  http://gnupg.org
The C Shore (Daniel Dickinson's Website) http://www.bmts.com/~cshore


signature.asc
Description: PGP signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel