Building only localedef?

Samuel Mendoza-Jonas sam@linux.ibm.com
Mon Nov 5 03:04:00 GMT 2018


Hi,

Updating to glibc 2.27 introduced some changes that meant using an older
localedef binary no longer worked, which is what Buildroot does:
https://bugs.busybox.net/show_bug.cgi?id=11096

Ideally we'd like to compile localedef for the host at build time along
with everything else without also compiling a whole separate glibc but I
don't believe that's possible by default. Various projects seem to either
patch the build files or fork some version of localedef for this purpose,
eg:
https://git.pengutronix.de/cgit/ptxdist/tree/patches/localedef-glibc-2.27/0001-HACK-only-build-and-install-localedef.patch

Is there a method of compiling only localedef, or a preferred way to
implement such a change? I've messed around with the Makefiles a bit but
I'd like to check to see what the existing conventions are before
charging ahead.

Thanks for any help,
Sam



More information about the Libc-help mailing list