Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Stack alignment with pthreads



On Fri, Aug 29, 2008 at 01:44:24PM +0200, Anthony Mallet wrote:
> But I think that I fiddle with this line already when I started to fight with
> the problem, and the quick conclusion that I had at that time is that gcc (or
> libc) was smart enough to round the stack pointer correctly, no matter what 
> you
> put in the alloca(). So I'm affraid your suggestion won't change anything but
> I'll recheck more thoroughly.

Maybe a better solution would be to add the lid-dependend jitter before
makecontext() already, and leave everything starting with the trampoline
alone and to gcc.

Martin


Home | Main Index | Thread Index | Old Index