Massive libxo-zation that breaks everything
Steve Kargl
sgk at troutmask.apl.washington.edu
Wed Mar 4 03:29:49 UTC 2015
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
More information about the freebsd-current
mailing list