This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug localedata/10369] New: tst_mblen unexpectedly fails
- From: "booleandomain at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 6 Jul 2009 12:52:28 -0000
- Subject: [Bug localedata/10369] New: tst_mblen unexpectedly fails
- Reply-to: sourceware-bugzilla at sourceware dot org
I'm trying to build glibc-2.10.1. Configure and make run fine, but make check
doesn't. I get the following error message:
GCONV_PATH=/home/booleandomain/tmp/lfs/sources/glibc-build/iconvdata LC_ALL=C
LOCPATH=/home/booleandomain/tmp/lfs/sources/glibc-build/localedata
/home/booleandomain/tmp/lfs/sources/glibc-build/elf/ld-linux-x86-64.so.2
--library-path
/home/booleandomain/tmp/lfs/sources/glibc-build:/home/booleandomain/tmp/lfs/sources/glibc-build/math:/home/booleandomain/tmp/lfs/sources/glibc-build/elf:/home/booleandomain/tmp/lfs/sources/glibc-build/dlfcn:/home/booleandomain/tmp/lfs/sources/glibc-build/nss:/home/booleandomain/tmp/lfs/sources/glibc-build/nis:/home/booleandomain/tmp/lfs/sources/glibc-build/rt:/home/booleandomain/tmp/lfs/sources/glibc-build/resolv:/home/booleandomain/tmp/lfs/sources/glibc-build/crypt:/home/booleandomain/tmp/lfs/sources/glibc-build/nptl
/home/booleandomain/tmp/lfs/sources/glibc-build/localedata/tst_mblen >
/home/booleandomain/tmp/lfs/sources/glibc-build/localedata/tst_mblen.out
make[2]: ***
[/home/booleandomain/tmp/lfs/sources/glibc-build/localedata/tst_mblen.out] Error 1
make[2]: Leaving directory
`/home/booleandomain/tmp/lfs/sources/glibc-2.10.1/localedata'
make[1]: *** [localedata/tests] Error 2
make[1]: Leaving directory `/home/booleandomain/tmp/lfs/sources/glibc-2.10.1'
make: *** [check] Error 2
This is the content of file localedata/tst_mblen.out:
mblen:de_DE.ISO-8859-1:1:1:2:F:the return value is different from an expected value
mblen:de_DE.ISO-8859-1:2:1:2:S:PASSED
mblen:de_DE.ISO-8859-1:3:1:2:S:PASSED
mblen:de_DE.ISO-8859-1:4:1:2:S:PASSED
mblen:de_DE.ISO-8859-1:5:1:2:S:PASSED
mblen:de_DE.ISO-8859-1:6:1:3:S:PASSED
mblen:en_US.ANSI_X3.4-1968:1:1:2:S:PASSED
mblen:en_US.ANSI_X3.4-1968:2:1:2:S:PASSED
mblen:en_US.ANSI_X3.4-1968:3:1:2:S:PASSED
mblen:en_US.ANSI_X3.4-1968:4:1:2:S:PASSED
mblen:en_US.ANSI_X3.4-1968:5:1:2:S:PASSED
mblen:en_US.ANSI_X3.4-1968:6:1:3:S:PASSED
mblen:ja_JP.EUC-JP:1:1:2:F:the return value is different from an expected value
mblen:ja_JP.EUC-JP:2:1:2:F:the return value is different from an expected value
mblen:ja_JP.EUC-JP:3:1:2:F:the return value is different from an expected value
mblen:ja_JP.EUC-JP:4:1:1:S:PASSED
mblen:ja_JP.EUC-JP:4:1:2:S:PASSED
mblen:ja_JP.EUC-JP:5:1:2:S:PASSED
mblen:ja_JP.EUC-JP:6:1:3:S:PASSED
I run configure with the following parameters:
--prefix=/tools \
--build=${LFS_BUILD} \
--host=${LFS_HOST} \
--with-headers=/tools/include \
--enable-kernel=2.6 \
CFLAGS="${CFLAGS} -U_FORTIFY_SOURCE"
where:
- LFS_BUILD=x86_64-pc-linux-gnu
- LFS_HOST=x86_64-pc-linux-gnu
- CFLAGS="-O2 -march=core2 -Wl,--dynamic-linker,/tools/lib/ld-linux-x86-64.so.2"
I set -U_FORTIFY_SOURCE because otherwise I get a make error.
I also edited file libio/tst-fgetwc.c in the source directory because otherwise
I run into bug 10196:
cp libio/tst-fgetwc.c libio/tst-fgetwc.c.orig
sed -e "s/de_DE.utf8/de_DE.UTF-8/" libio/tst-fgetwc.c.orig > libio/tst-fgetwc.c
--
Summary: tst_mblen unexpectedly fails
Product: glibc
Version: 2.10
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: libc-locales at sources dot redhat dot com
ReportedBy: booleandomain at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: x86_64-pc-linux-gnu
GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=10369
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.