On Tue, Jan 24, 2012 at 10:13:39PM +0000, David Holland wrote: > On Tue, Jan 24, 2012 at 09:55:30PM +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? Joerg