[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Possible incorrect usage of STACKALIGN in kern_exec
On Tue, Jan 24, 2012 at 11:30:54PM +0100, Joerg Sonnenberger wrote:
> > > > There is also a related PR but which is for threads stack alignment:
> > > > lib/39465
> > >
> > > That bug is wrong. NetBSD uses SYSV ABI and that mandates 4 Bytes
> > > alignment for the stack. GCC versions before ~4.5 or so are just
> > > completely broken in this regard.
> > And yet there have been several reports that it still doesn't work
> > with gcc 4.5...
> Of course. You don't expect GCC to default to correct behavior
> (-mstackrealign), do you?
No, but if we need to change our gcc specs so this works in -6,
perhaps we should do it this week...
David A. Holland
Main Index |
Thread Index |