This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [Various] libc/2512: linxuthreads does not allow signalhandlers to run on alternate stack
- To: "Hassan M. Jafri" <hassanj at cs dot utexas dot edu>
- Subject: Re: [Various] libc/2512: linxuthreads does not allow signalhandlers to run on alternate stack
- From: Andreas Jaeger <aj at suse dot de>
- Date: Thu, 06 Sep 2001 08:09:34 +0200
- Cc: Jakub Jelinek <jakub at redhat dot com>, Ulrich Drepper <drepper at cygnus dot com>, <libc-alpha at sources dot redhat dot com>
- References: <Pine.GSO.4.33.0109060040540.11763-100000@charity.cs.utexas.edu>
"Hassan M. Jafri" <hassanj@cs.utexas.edu> writes:
> So is it absolutely necessary to install the kernel 2.4.x to make
> alternate stack work?
Yes.
>> On Tue, Sep 04, 2001 at 11:43:15PM -0700, drepper@redhat.com wrote:
>> >
>> > When not using %gs the thread is determined based on the stack
>> > pointer. How can this possibly work with an alternative stack?
>
> What does register %gs hold (as far as I know, it holds the address of
It holds a thread specific pointer.
> some segment of the address space. Am I right?) and how do I configure
> the kernel with %gs?
Just install a 2.4.9+ kernel. And then build glibc with:
/libc/configure --prefix=/usr --enable-add-ons --enable-kernel=2.4.1 i686-linux
You might want to use a different prefix for testing,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj