Remaining Itanium exception, static linking patches
Andrew Haley
aph@cambridge.redhat.com
Fri Mar 15 09:10:00 GMT 2002
Boehm, Hans writes:
>
> I tried it. It doesn't work. The superficial reason is that SYS_sigaction
> doesn't exist. There's only SYS_rt_sigaction. The more serious issue is
> that this code is broken to start with; the kernel sigaction structure
> doesn't necessarily have the same layout as the user one. The X86 and IA64
> implementations of sigaction in glibc perform a translation.
Yes, I know. You remember my patch that used a user-defined stack on
IA-32? It fixed that problem also.
> It sounds to me like the only plausible solution here is to check in the
> original patch which relies on __libc_sigaction. It's far less broken than
> what's there now.
Yes, but I know that on IA-32 it works correctly, although it works by
accident, so I don't want to change the IA-32 version.
> Clearly at least parts of glibc need unwind information on all
> platforms, at which point this can be done correctly.
Yes.
> OK to commit? Andrew - do you want to check it in? Or I can, and list you
> as the author:
Please check it in, because at this moment in time I don't have an
IA-64 system with up-to-date libraries to test on.
Andrew.
More information about the Java-patches
mailing list