tech-userlevel archive

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

Re: Trivial program size inflation

On Sat, 1 Jul 2023, Mouse wrote:

But that support shouldn't be brought in if the program doesn't use
i18n, NSS, or whatever.

As in, sure, let's say i18n_something.o refers to dlopen.  But if
i18n_something.o itself is not brought in, its reference to dlopen
won't be brought in either.

Even in the default C/POSIX locale that all programs start in, libc
loads the appropriate shared lib from /usr/lib/i18n/ in order to
handle standard things like LC_CTYPE, LC_NUMERIC, etc.


Home | Main Index | Thread Index | Old Index