This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
glibc-2.3.2: bug-iconv3.c: is this test failure expected?
- From: Nix <nix at esperi dot demon dot co dot uk>
- To: libc-alpha at sources dot redhat dot com
- Date: 30 Mar 2003 11:49:08 +0100
- Subject: glibc-2.3.2: bug-iconv3.c: is this test failure expected?
I assume not --- the .c file makes no mention of it, and it kills `make
check'.
I see
GCONV_PATH=/tmp/build/iconvdata LC_ALL=C /tmp/build/elf/ld-linux.so.2 --library-path /tmp/build:/tmp/build/math:/tmp/build/elf:/tmp/build/dlfcn:/tmp/build/nss:/tmp/build/nis:/tmp/build/rt:/tmp/build/resolv:/tmp/build/crypt:/tmp/build/linuxthreads /tmp/build/iconvdata/tst-iconv4 > /tmp/build/iconvdata/tst-iconv4.out
gcc bug-iconv3.c -c -std=gnu99 -Os -Wall -Winline -Wstrict-prototypes -Wwrite-strings -march=i486 -pipe -g0 -O2 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I. -I/tmp/build/iconvdata -I.. -I../libio -I/tmp/build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -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 -I../sysdeps/unix -I../sysdeps/posix -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 -DNOT_IN_libc=1 -DNOT_IN_libc -o /tmp/build/iconvdata/bug-iconv3.o
gcc -nostdlib -nostartfiles -o /tmp/build/iconvdata/bug-iconv3 -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combreloc /tmp/build/csu/crt1.o /tmp/build/csu/crti.o `gcc --print-file-name=crtbegin.o` /tmp/build/iconvdata/bug-iconv3.o /tmp/build/dlfcn/libdl.so.2 -Wl,-rpath-link=/tmp/build:/tmp/build/math:/tmp/build/elf:/tmp/build/dlfcn:/tmp/build/nss:/tmp/build/nis:/tmp/build/rt:/tmp/build/resolv:/tmp/build/crypt:/tmp/build/linuxthreads /tmp/build/libc.so.6 /tmp/build/libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` /tmp/build/csu/crtn.o
GCONV_PATH=/tmp/build/iconvdata LC_ALL=C /tmp/build/elf/ld-linux.so.2 --library-path /tmp/build:/tmp/build/math:/tmp/build/elf:/tmp/build/dlfcn:/tmp/build/nss:/tmp/build/nis:/tmp/build/rt:/tmp/build/resolv:/tmp/build/crypt:/tmp/build/linuxthreads /tmp/build/iconvdata/bug-iconv3 > /tmp/build/iconvdata/bug-iconv3.out
Didn't expect signal from child: got `Segmentation fault'
make[2]: *** [/tmp/build/iconvdata/bug-iconv3.out] Error 1
make[2]: Leaving directory `/usr/packages/glibc/libc/iconvdata'
make[1]: *** [iconvdata/tests] Error 2
make[1]: Leaving directory `/usr/packages/glibc/libc'
make: *** [check] Error 2
The glibc in question was built with
--prefix=/usr --with-fp --with-elf --enable-shared --enable-omitfp
--enable-profile --disable-bounded --enable-add-ons --enable-kernel=2.2.19
with GCC-3.2.2 and binutils-2.13.2.1.
If I link with -lc_g, the crash goes away, so I'm building without
--enable-omitfp now to try to get some backtrace.
--
#ifdef USE_ISPTS_FLAG
} else { /* else pty, not pts */
#endif