bug-libsigsegv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-libsigsegv] libsgsegv 2.11 fails to build on aarch64 with musl libc


From: Natanael Copa
Subject: [bug-libsigsegv] libsgsegv 2.11 fails to build on aarch64 with musl libc
Date: Mon, 9 Oct 2017 14:21:12 +0200

Hi,

When building libsigsegv 2.11 on Alpine Linux aarch64 (musl libc) the
build fails with the following error:


make[2]: Entering directory 
'/home/buildozer/aports/testing/libsigsegv/src/libsigsegv-2.11/src'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. 
-I. -Os  -Os -c -o handler.lo handler.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. 
-I. -Os  -Os -c -o stackvma.lo stackvma.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. 
-I. -Os  -Os -c -o leave.lo leave.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. 
-I. -Os  -Os -c -o dispatcher.lo dispatcher.c
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I. 
-I. -Os  -Os -c -o version.lo version.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -Os -Os -c dispatcher.c 
-o dispatcher.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -Os -Os -c stackvma.c 
-o stackvma.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -Os -Os -c handler.c -o 
handler.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -Os -Os -c version.c -o 
version.o
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:
/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
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory 
'/home/buildozer/aports/testing/libsigsegv/src/libsigsegv-2.11/src'
make[1]: *** [Makefile:426: all-recursive] Error 1
make[1]: Leaving directory
'/home/buildozer/aports/testing/libsigsegv/src/libsigsegv-2.11'

-nc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]