The linuxthreads test ex1, ex2, ex3, ex4, ex5 and ex6 fail

  • d3fac3
  • Newbie
  • Newbie
  • User avatar
  • Posts: 11
  • Loc: Malaysia

Post 3+ Months Ago

/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?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

So I am curious why you cut and pasted a direct quote from redhat's sources mailing list from Dec 1999?

http://sources.redhat.com/ml/libc-hacke ... 00079.html

Just wondering, as this "issue" was dubious at best and did not appear again.

Cheers.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.