[parisc-linux] PA glibc nls bug
Carlos O'Donell
carlos at systemhalted.org
Sun Apr 22 08:21:42 MDT 2007
On 4/22/07, Carlos O'Donell <carlos at systemhalted.org> wrote:
> On 4/21/07, John David Anglin <dave at hiauly1.hia.nrc.ca> wrote:
> > In the following test program, the call to nl_langinfo_l returns an
> > incorrect wchar_t string. We are dropping the first two wide chars:
> > 0x0000897f 0x00005143. You can see the difference by running this
> > test on x86 and parisc under gdb, or by printing pp.
>
> Please give me a program with:
> 1. Expected output.
> 2. Actual result.
There may be something wrong with your locally installed locales, I
would consider running "dpkg -P locales; apt-get install locales;
dpkg-reconfigure locales" and have it rebuild all your locales.
i686-pc-linux-gnu
--------------------------
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --with-tune=i686
--enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
locales 2.3.6.ds1-8 GNU C Library: National Language
(locale) data [supp
hppa-linux:
------------------
Using built-in specs.
Target: hppa-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-libssp
--enable-checking=release hppa-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
locales 2.3.6.ds1-13 GNU C Library: National Language
(locale) data [supp
More information about the parisc-linux
mailing list