This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: pthread_attr_setstacksize limitation
On Fri, Jul 26, 2002 at 04:01:30PM -0600, Vincent Cassi wrote:
> > It is enough if you just use an {i686,alpha*,sparc*,s390*,ia64}-*-*
> > configured glibc (on i686 built with --enable-kernel=2.4.1 or later).
> >
> > Jakub
>
> Thanks for the quick answer but I do not understand what you mean.
> By enough, do you mean I don't have to use a stack size bigger than 2Mb ?
> Or do you mean it will be ok if I use a kernel later than 2.4.1. ?
>
> BTW, I use a 2.4.19-rcl kernel on a i686.
If you configure glibc with i686-*-linux* --enable-kernel=2.4.1 or later,
then it will use %gs based threads, which means thread stack sizes are
no longer limited to 2MB.
Jakub