Re: Massive libxo-zation that breaks everything

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Tue, 3 Mar 2015 19:29:41 -0800
On Tue, Mar 03, 2015 at 09:09:43AM +0000, David Chisnall wrote:
> 
> If your argument is about binary size, then it would be relatively
> easy for us to add a version of libxo for static linking into the
> versions in /rescue that only supported plain-text output, but
> again, please quantify your objections: What is the size increase
> that you're seeing and what kind of devices is this causing a problem for?
> 

Well, since you asked,

with libxo
-rwxr-xr-x  1 root  wheel  -   20104 Mar  3 19:16 w*   dynamic
-rwxr-xr-x  1 root  wheel  - 1011688 Mar  3 19:17 w*   static

without libxo
-rwxr-xr-x  1 root  wheel  -   16856 Mar  3 19:18 w*   dynamic
-rwxr-xr-x  1 root  wheel  -  974680 Mar  3 19:19 w*   static

 3.17 kB dynamic
36.14 kB static

The output from w is fairly simple compared to what ifconfig or
netstat or vmstat or ps or any number of other utilities generated.
The use of libxo may have an impact on embedded systems with limited
resources.  Too bad the libxo supporters did not do the damage with
a WITH_LIBXO knob.

-- 
Steve
Received on Wed Mar 04 2015 - 02:29:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC