74f401025d
Fix the following musl build failure with powerpc raised since bump to
version 2.14 in commit c6addf4606
:
In file included from fault.h:36,
from handler-unix.c:77,
from handler.c:19:
handler-unix.c: In function 'sigsegv_handler':
fault-linux-powerpc.h:35:73: error: 'mcontext_t' has no member named 'uc_regs'; did you mean 'gregs'?
35 | # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1]
| ^~~~~~~
handler-unix.c:157:43: note: in expansion of macro 'SIGSEGV_FAULT_STACKPOINTER'
157 | uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/77b600071f07605be3ec28e2da46d6938e240087
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
483 B
Makefile
17 lines
483 B
Makefile
################################################################################
|
|
#
|
|
# libsigsegv
|
|
#
|
|
################################################################################
|
|
|
|
LIBSIGSEGV_VERSION = 2.14
|
|
LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
|
|
LIBSIGSEGV_INSTALL_STAGING = YES
|
|
LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
|
|
LIBSIGSEGV_LICENSE = GPL-2.0+
|
|
LIBSIGSEGV_LICENSE_FILES = COPYING
|
|
# We're patching configure.ac
|
|
LIBSIGSEGV_AUTORECONF = YES
|
|
|
|
$(eval $(autotools-package))
|