[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-libsigsegv] libsgsegv 2.11 fails to build on aarch64 with musl
From: |
Bruno Haible |
Subject: |
Re: [bug-libsigsegv] libsgsegv 2.11 fails to build on aarch64 with musl libc |
Date: |
Mon, 09 Oct 2017 16:45:42 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-96-generic; KDE/5.18.0; x86_64; ; ) |
Hi,
Natanael Copa wrote:
> When building libsigsegv 2.11 on Alpine Linux aarch64 (musl libc) the
> build fails with the following error:
> ...
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -Os -Os -c leave.c -o
> leave.o
> In file included from handler-unix.c:62:0,
> from handler.c:20:
This output is pretty hard to understand because it was produced by
"make -jN" with N > 1. Please use "make -j1" when reporting bugs.
> /usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect
> #include <sys/signal.h> to <signal.h> [-Wcpp]
> #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
> ^~~~~~~
> In file included from fault.h:37:0,
> from handler-unix.c:71,
> from handler.c:20:
> handler-unix.c: In function 'sigsegv_handler':
> fault-linux-arm.h:40:70: error: 'mcontext_t {aka struct sigcontext}' has no
> member named 'arm_sp'
> #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.arm_sp
> ^
> handler-unix.c:151:43: note: in expansion of macro
> 'SIGSEGV_FAULT_STACKPOINTER'
> uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> make[2]: *** [Makefile:484: handler.lo] Error 1
It looks like this was fixed in [1].
Can you please try
https://haible.de/bruno/gnu/libsigsegv-2.12-20171008.tar.gz
instead?
Bruno
[1]
http://git.savannah.gnu.org/gitweb/?p=libsigsegv.git;a=commitdiff;h=7d365628d84b1698a68d968b00544f8b6630e3ce