sparc: fix sigaction for 32bit builds [BZ #18694]
commited99e5f9cc6471745488f269d16ee5b127944a85
authorMike Frysinger <vapier@gentoo.org>
Mon, 20 Jul 2015 11:29:15 +0000 (20 07:29 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 21 Jul 2015 01:58:28 +0000 (20 21:58 -0400)
treec7e049bb7b204d4ea24e39bdbd2e9d244ce54633
parent4d54424420c6300efbf57a7b9aa8635a8b8c1942
sparc: fix sigaction for 32bit builds [BZ #18694]

Commit a059d359d86130b5fa74e04a978c8523a0293f77 changed the sigaction
struct to pass conform tests, but it ended up also changing the ABI for
32 bit builds.  For 64 bit builds, changing the long to two ints works,
but for 32 bit builds, it inserts 4 extra bytes.  This leads to many
packages randomly failing like bash that spews things like:
configure: line 471: wait_for: No record of process 0

Bracket the new member by a wordsize check to fix the ABI for 32bit.

(cherry picked from commit 7fde904c73c57faea48c9679bbdc0932d81b3a2f)
ChangeLog
NEWS
sysdeps/unix/sysv/linux/sparc/bits/sigaction.h