[Top][All Lists]

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

libsigsegv fails to compile under OpenWRT and LibreCMC

From: Jeronimo Pellegrini
Subject: libsigsegv fails to compile under OpenWRT and LibreCMC
Date: Thu, 20 Feb 2020 09:29:47 -0300
User-agent: Mutt/1.10.1 (2018-07-13)


I am trying to package libsigsegv for LibreCMC and
OpenWRT, but compilation currently fails with this error:

In file included from fault-linux-mips-old.h:18:0,
                 from fault.h:37,
                 from handler-unix.c:71,
                 from handler.c:20:
 error: redefinition of 'struct sigcontext'
 struct sigcontext {
In file included from handler-unix.c:22:0,
                 from handler.c:20:
sigsegv.h:146:16: note: originally defined here
 typedef struct sigcontext *stackoverflow_context_t;
In file included from handler.c:20:0:
handler-unix.c: In function 'sigsegv_handler':
handler-unix.c:353:57: warning: initialization from incompatible pointer type 
                       stackoverflow_context_t context = 

This was compiled with -j1, and compilation was done inside the OpenWRT
buildroot (same happens in the LibreCMC buildroot, as they are very similar)
Packages are compiled against musl (not GNU libc)

Is there a simple way to fix this? And is there anything else I can do to help

The method for compiling are here:

and the Makefiles I have used are here:

I have tried teh latest stable version, and also a git snapshot.

This is part of an attempt to package several languages for wireless routers:

I could not yet package any Common Lisp implementation -- nor Smalltalk either,
and I wanted to get libsigsegv working in order to try to package Clisp and
GNU Smalltalk.

Thanks for any heklp you may provide with this.

reply via email to

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