[Various] libc/2512: linxuthreads does not allow signalhandlers to run on alternate stack

Andreas Jaeger aj@suse.de
Wed Sep 5 23:11:00 GMT 2001


"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



More information about the Libc-alpha mailing list