criu/compel/arch
Pepper Gray b3c809075c make: prevent redefinition of 'struct sigcontext'
Compilation on gentoo/arm64 (llvm+musl) fails with:

In file included from compel/include/uapi/compel/asm/sigframe.h:4,
                 from compel/plugins/std/infect.c:14:
/usr/include/asm/sigcontext.h:28:8: error: redefinition of 'struct sigcontext'
   28 | struct sigcontext {
      |        ^~~~~~~~~~

In file included from criu/arch/aarch64/include/asm/restorer.h:4,
                 from criu/arch/aarch64/crtools.c:11:
/usr/include/asm/sigcontext.h:28:8: error: redefinition of 'struct sigcontext'
   28 | struct sigcontext {
      |        ^~~~~~~~~~

This is happening because <asm/sigcontext.h> and <signal.h> are
mutually incompatible on Linux.

To fix, use  <signal.h> instead of <asm/sigcontext.h> for arm64
(like all others arches do).

Fixes: #2766
Signed-off-by: Pepper Gray <hello@peppergray.xyz>
2025-10-03 12:19:20 +01:00
..
aarch64 make: prevent redefinition of 'struct sigcontext' 2025-10-03 12:19:20 +01:00
arm arm64: C/R PAC keys 2025-03-15 11:59:19 +00:00
loongarch64 arm64: C/R PAC keys 2025-03-15 11:59:19 +00:00
mips compel/mips: Relax ELF magic check to support MIPS libraries 2025-09-18 22:24:58 -07:00
ppc64 arm64: C/R PAC keys 2025-03-15 11:59:19 +00:00
riscv64 arm64: C/R PAC keys 2025-03-15 11:59:19 +00:00
s390 arm64: C/R PAC keys 2025-03-15 11:59:19 +00:00
x86 arm64: C/R PAC keys 2025-03-15 11:59:19 +00:00