bug-gnu-utils
[Top][All Lists]
Advanced

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

Locales problem with binutils-2.12.1


From: Benoît SIBAUD
Subject: Locales problem with binutils-2.12.1
Date: Tue, 06 Aug 2002 09:47:55 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020617 Debian/1.0.0-1

Hi,

I compiled software for several architectures in a stow directory. I've got a problem with binutils-2.12.1 (and 2.12) on i686-pc-linux-gnu.

ld --help output is in French (my locales), even if I use LC_ALL=C ld --help (or LANG=C or both). It fools config.guess, which founds a i686-pc-linux-gnuoldld triplet. With the same configure options (nls and included-gettext), I've no problem with sparc-unknown-linux-gnu architecture (default locales in French), or sun-sparc-solaris2.6|7|8 (locales C).

configure options:
nls and included-gettext => French
nothing => C
nls => C
included-gettext => French

[./configure --prefix=X --enable-nls --with-included-gettext]
$ LC_ALL=C /tmp/binutils-2.12.1-nls-gettext/install/bin/ld --help|grep support /tmp/binutils-2.12.1-nls-gettext/install/bin/ld: cibles supportées: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core /tmp/binutils-2.12.1-nls-gettext/install/bin/ld: émulations supportées: elf_i386 i386linux

[./configure --prefix=X]
$ LC_ALL=C /tmp/binutils-2.12.1/install/bin/ld --help|grep support
/tmp/binutils-2.12.1/install/bin/ld: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core /tmp/binutils-2.12.1/install/bin/ld: supported emulations: elf_i386 i386linux

[./configure --prefix=X --enable-nls]
$ LC_ALL=C /tmp/binutils-2.12.1-nls/install/bin/ld --help|grep support
/tmp/binutils-2.12.1-nls/install/bin/ld: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core /tmp/binutils-2.12.1-nls/install/bin/ld: supported emulations: elf_i386 i386linux

[./configure --prefix=X --with-included-gettext]
$ LC_ALL=C /tmp/binutils-2.12.1-gettext/install/bin/ld --help|grep support
/tmp/binutils-2.12.1-gettext/install/bin/ld: cibles supportées: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core /tmp/binutils-2.12.1-gettext/install/bin/ld: émulations supportées: elf_i386 i386linux

binutils-2.12 with nls and gettext also speaks in French even with LC_ALL=C or LANG=C or both. binutils-2.11.2 seems correct, or has been previously compiled with "correct" software.
(2.12.1 has been compiled with gcc-2.95.2 and gettext-0.11.4)

Did I miss something or is it a bug in binutils-2.12.x?

--
Benoît Sibaud
R&D Engineer - France Telecom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]