--- ./lib/getlocalename_l-unsafe.c_orig 2026-04-28 03:50:12.318032794 -0500 +++ ./lib/getlocalename_l-unsafe.c 2026-04-28 03:51:13.058029821 -0500 @@ -558,7 +558,8 @@ # endif #elif HAVE_NAMELESS_LOCALES /* OpenBSD >= 6.2, AIX >= 7.1 */ - return get_locale_t_name_unsafe (category, locale); + /* AIX 7.1 fallback: no proper locale_t name support */ + return (struct string_with_storage) { "" }; #elif defined __OpenBSD__ && HAVE_FAKE_LOCALES /* OpenBSD >= 6.2 has only fake locales. */ if (locale == (locale_t) 2)