There is no reason to unconditionally disable NLS support in libraries built for non-native ABIs. Results for x86-64 system with ABI_X86="32 64": Before this patch: # readelf -sW /lib64/libblkid.so.1 /lib64/libfdisk.so.1 /lib64/libmount.so.1 /lib64/libsmartcols.so.1 /lib64/libuuid.so.1 | grep -i gettext 26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (12) 26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (9) 92: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcngettext@GLIBC_2.2.5 (9) 38: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (12) 9: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (6) # readelf -sW /usr/lib32/libblkid.so.1 /usr/lib32/libfdisk.so.1 /usr/lib32/libmount.so.1 /usr/lib32/libsmartcols.so.1 /usr/lib32/libuuid.so.1 | grep -i gettext # After this patch: # readelf -sW /lib64/libblkid.so.1 /lib64/libfdisk.so.1 /lib64/libmount.so.1 /lib64/libsmartcols.so.1 /lib64/libuuid.so.1 | grep -i gettext 26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (12) 26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (9) 92: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcngettext@GLIBC_2.2.5 (9) 38: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (12) 9: 0000000000000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.2.5 (6) # readelf -sW /usr/lib32/libblkid.so.1 /usr/lib32/libfdisk.so.1 /usr/lib32/libmount.so.1 /usr/lib32/libsmartcols.so.1 /usr/lib32/libuuid.so.1 | grep -i gettext 28: 00000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.0 (12) 27: 00000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.0 (11) 100: 00000000 0 FUNC GLOBAL DEFAULT UND dcngettext@GLIBC_2.2 (18) 41: 00000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.0 (13) 13: 00000000 0 FUNC GLOBAL DEFAULT UND dcgettext@GLIBC_2.0 (7) #
Created attachment 527126 [details, diff] Patch This patch applies after patch in bug #652948.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883161e04f4709b720ff0142a6990a70011dbfb7 commit 883161e04f4709b720ff0142a6990a70011dbfb7 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2018-04-11 02:37:09 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-04-11 07:28:20 +0000 sys-apps/util-linux: Make USE="nls" enable NLS support in libraries built for non-native ABIs. Also add missing dependency on virtual/libintl. Closes: https://bugs.gentoo.org/652950 sys-apps/util-linux/util-linux-2.32-r3.ebuild | 3 ++- sys-apps/util-linux/util-linux-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)