[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: linuxthreads & linux kernel 2.4.1
From: |
Andreas Jaeger |
Subject: |
Re: linuxthreads & linux kernel 2.4.1 |
Date: |
19 Feb 2001 15:22:21 +0100 |
User-agent: |
Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Channel Islands) |
address@hidden writes:
> Quoting Andreas Jaeger <address@hidden>:
>
> > address@hidden writes:
> >
> > > I am having difficulty building glibc-2.2.2 with linuxthreads. The
> > build works
> > > completely, however in running the check, linuxthreads failed.
> > > I did some investigation and found that mmap was failing with ENOMEM.
> > I hacked
> > > __pthread_max_stacksize to be 0x003fffff, rather than the original
> > 0x7fffffff (based on rlim_cur).
> > > This seemed to fix a portion of my difficulties, i.e. some of the
> > tests ran, but
> > > some now fail with a core dump, and I am not sure gdb has given me
> > anything meaningful.
> > >
> > > I'm not convinced that it's a linuxthreads bug, but I thought
> > > I'd ask.
> > >
> > > Any suggestions, either a fix, or suggestions for debugging this
> > further?
> >
> > Which architecture? What compiler?
> >
> > It works fine for me on i686-linux with gcc 2.95.2 and Linux 2.2.18,
>
> i686-pc-linux-gnu
>
> 2.95.2 gcc, freshly built
> 3.79.1 make, freshly built
> 2.10.1 binutils, freshly built
> 2.4.1 Linux kernel
Those should be fine.
Did you run the glibc testsuite? Did it report any failures?
Andreas
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj