This is what happens on my system: windows's set to use the Italian language, and LANG, LC_ALL and the rest are empty. Hence, objdump speaks windows-Italian, but libtool speaks English, and they don't understand each other, causing the problems highlighted 11 years ago.
Hi,
I have encountered an issue that has been raised, and fixed, in libtool about 11 years ago. Here's the relevant discussion: https://lists.gnu.org/archive/html/bug-libtool/2010-03/msg00002.html
I understand during these years libtool has undergone great transformations, so that fix must have been lost during some refactory.
TL;DR: if locale-specific environmental variables aren't set, then funclib.sh doesn't change their value to "C", which seems fine, until you meet MINGW, which defaults to windows locale if the relevant environmental variables aren't set.
This is what happens on my system: windows's set to use the Italian language, and LANG, LC_ALL and the rest are empty. Hence, objdump speaks windows-Italian, but libtool speaks English, and they don't understand each other, causing the problems highlighted 11 years ago.
I guess the fix is the same as the one from those days: Unconditionally normalize LC_ALL, LANGUAGE