Re: aranym bug, manifests as "ida_remove called for id=13" on recent kernels

Al Viro
2010-10-11T14:24:39Z

On Mon, Oct 11, 2010 at 04:15:35PM +0200, Andreas Schwab wrote:
> Al Viro <viro@ZenIV.linux.org.uk> writes:
>
> > Below is what I'm using on top of mainline kernel; it's a combination of
> > couple of patches in debian m68k kernel plus compile fixes.
>
> Try Geert's linux-m68k tree.
>
> > This kind of miscompile is definitely triggered in a lot of places -
> > anything that does return ERR_PTR(error) right after error = foo(...);
> > is going to get fscked and it's not a rare thing.
>
> Only if they are optimized into tail calls.

And with -O2 4.3 does exactly that.

BTW, any comments on signal patchset? Seems to work here, including the
stack expansion fixes, but that's on aranym. I'll try to resurrect the
real hardware, but that may take a while. If somebody could give it a beating
in the meanwhile...