[Pkg-sugar-devel] Bug#528774: Bug#528774: squeak-vm: FTBFS (hppa/unstable): error: 'struct sigaction' has no member named 'sa_restorer'
John David Anglin
dave.anglin at bell.net
Sun Sep 23 13:36:57 BST 2018
On 2018-09-23 4:47 AM, Jonas Smedegaard wrote:
> I am a bit puzzled, however: It seems from
> https://buildd.debian.org/status/package.php?p=squeak-vm that the
> package no longer fails to build from source.
I manually built and uploaded the package using the proposed patch. If
you look at it,
you will see it simply adds hppa to a list of targets without sa_restorer.
> Does that mean newer compilers magically handle this correctly so the
> patch is not needed, or perhaps - more worrisome - that newer compilers
> still lead to wrong code but no longer fails?
No, this isn't a compiler problem. The 'struct sigaction' has no member
on hppa. POSIX doesn't require this field.
It has to do with how signal returns are done on hppa. We can't add the
field without breaking
ABI. Possibly, hppa might use ka_restorer in the future but there is
another technique that might
be used to avoid having an executable stack.
John David Anglin dave.anglin at bell.net
More information about the pkg-sugar-devel