This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]