[Pkg-sugar-devel] Bug#528774: Bug#528774: squeak-vm: FTBFS (hppa/unstable): error: 'struct sigaction' has no member named 'sa_restorer'

Jonas Smedegaard jonas at jones.dk
Wed Sep 26 11:51:35 BST 2018


Quoting John David Anglin (2018-09-23 14:36:57)
> 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 
> named 'sa_restorer'
> 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.

Thanks for the clarification.  Much appreciated!

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-sugar-devel/attachments/20180926/d85fa7c8/attachment.sig>


More information about the pkg-sugar-devel mailing list