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
The following reply was made to PR lib/53722; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost, ca6c%bitmessage.ch@localhost
Subject: Re: lib/53722: Static binaries don't support locales that are
implemented using shared objects
Date: Mon, 12 Nov 2018 00:22:55 +0100
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