This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[50 character or so descriptive subject here (for reference)]
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: [50 character or so descriptive subject here (for reference)]
- From: leitner at fefe dot de
- Date: 27 Sep 2000 11:34:06 -0000
>Submitter-Id: net
>Originator: Felix von Leitner
>Organization:
>Confidential: no
>Synopsis: "make check" fails in iconv
>Severity: serious
>Priority: high
>Category: libc
>Class: sw-bug
>Release: libc-2.1.94
>Environment:
Host type: i686-pc-linux-gnu
System: Linux hellhound 2.4.0-test8 #2 Sat Sep 23 00:23:27 CEST 2000 i686 unknown
Architecture: i686
Addons: linuxthreads
Build CFLAGS: -pipe -O2
Build CC: gcc
Compiler version: 2.95.2 19991024 (release)
Kernel headers: 2.2.17
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
make check fails for glibc-2.1.94 on Linux with default CFLAGS:
[...]
make -C iconvdata tests
make[1]: Entering directory `/tmp/glibc-2.1.94/iconvdata'
gcc bug-iconv2.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -pipe -I../include -I. -I.. -I../libio -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386/i686 -I../sysdeps/unix/i386/i586 -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o bug-iconv2.o
gcc -nostdlib -nostartfiles -o bug-iconv2 -Wl,-dynamic-linker=/lib/ld-linux.so.2 ../csu/crt1.o ../csu/crti.o `gcc --print-file-name=crtbegin.o` bug-iconv2.o -Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` ../csu/crtn.o
GCONV_PATH=../iconvdata LC_ALL=C ../elf/ld-linux.so.2 --library-path ..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ./bug-iconv2 > bug-iconv2.out
bug-iconv2: gconv_builtin.c:73: __gconv_get_builtin_trans: Assertion `cnt < sizeof (map) / sizeof (map[0])' failed.
make[1]: *** [bug-iconv2.out] Error 134
make[1]: Leaving directory `/tmp/glibc-2.1.94/iconvdata'
make: *** [iconvdata/tests] Error 2
>How-To-Repeat:
$ make check
>Fix:
good question