From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jaeger To: GNU libc hacker Subject: Re: Linuxthreads fails tests with current glibc 2.2 version Date: Sun, 19 Dec 1999 05:10:00 -0000 Message-id: References: X-SW-Source: 1999-12/msg00079.html >>>>> I wrote: > Just a short notice: > The linuxthreads test ex1, ex2, ex3, ex4, ex5 and ex6 fail for me in > on i686-linux. and also rt/tst-aio* and elf/resolvfail fail (all programs use linuxthreads). configured with: /cvs/libc/configure --prefix=/usr/src/test/glibc-2.2 \ --enable-add-ons --disable-profile --without-cvs --enable-kernel=2.2.0 \ --with-headers=/usr/src/linux-2.3.34-2/include on i686-linux, running Linux 2.2.13 but with headers from 2.3.34pre2, gcc 2.95.2. If I compile with headers from 2.2.13 everything seems to work. Here's an output from gdb on elf/resolvfail: Program received signal SIGSEGV, Segmentation fault. 0x400de728 in __new_getrlimit (resource=RLIMIT_STACK, rlimits=0xbffff654) at ../sysdeps/unix/sysv/linux/i386/getrlimit.c:48 48 result = INLINE_SYSCALL (ugetrlimit, 2, resource, rlimits); (gdb) bt #0 0x400de728 in __new_getrlimit (resource=RLIMIT_STACK, rlimits=0xbffff654) at ../sysdeps/unix/sysv/linux/i386/getrlimit.c:48 #1 0x40027649 in pthread_initialize () at pthread.c:304 #2 0x4002b03a in __do_global_ctors_aux () from /usr/src/build-glibc/19991219-linux-2.3.34-2/linuxthreads/libpthread.so.0 #3 0x4002454e in ?? () from /usr/src/build-glibc/19991219-linux-2.3.34-2/linuxthreads/libpthread.so.0 Could somebody doublecheck the recent linuxthreads and getrlimit changes, please? I'm currently lost - and won't have time to check this myself today or tomorrow, Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.rhein-neckar.de