Re: post 2.6.7 BK change breaks Java?

From: Matthias Andree
Date: Mon Jul 12 2004 - 09:07:57 EST


On Mon, 12 Jul 2004, Brian Gerst wrote:

[a hell of a quote that got snipped]

> >gcc 3.4.0
> >
> >I got a patch from Linus yesterday that seems to fix it nicely on top of
> >2.6.8-rc1. I guess he has his reasons for not CC'ing it to the list, but
> >I've given him feedback on my testing of it, so I hope it'll surface as
> >soon as he's happy with it.
>
> I see Linus commited a changeset that avoids a tailcall from this
> function, which messes up the stack if CONFIG_REGPARM=n. Specifically,
> it clobbers %edx in the pt_regs image:
>
> sys_sigaltstack:
> movl 56(%esp), %eax
> movl %eax, 12(%esp)
> jmp do_sigaltstack

After a BK pull and a rebuild, Java is well again.

--
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/