NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/53722: Static binaries don't support locales that are implemented using shared objects



On Sun, Nov 11, 2018 at 11:10:01PM +0000, coypu%sdf.org@localhost wrote:
>  fly@planets ~> cc test.c -static -o static; cc test.c -o dynamic
>  fly@planets ~> ls -lh dynamic static
>  -rwxr-xr-x  1 fly  users  7.8K Nov 12 01:05 dynamic
>  -rwxr-xr-x  1 fly  users  180K Nov 12 01:05 static
>  
>  a static system is going to be bigger

You need to also count in size of shared libraries and you did not consider
the "whole thing" being crunched into a single binary (crunchgen or
busybox).

However, shared libraries not being loadable from static binaries is
not that unexpected - and some locales and pam being unavailable is
a well known drawback of static linking.

Not unsolvable (hi joerg!), but not high priority nor a real bug.

Martin


Home | Main Index | Thread Index | Old Index