Skip to contentSkip to conversation

libsigsegv: fix build on x86_64 (probably others too)

PATCH Superseded Arnout Vandecappelle (Essensium/Mind) 2 participants 3 messages May 12, 2013 – May 13, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsigsegv: fix build on x86_64 (probably others too)

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

The configure script doesn't detect that the target is posix-compliant and tries to use a custom version of segfault analysis that actually doesn't build. Most likely, it's because the configure script doesn't support linux-3.x. Anyway, we can just tell configure that we're posix-compliant.

---
 package/libsigsegv/libsigsegv.mk | 1 +
 1 file changed, 1 insertion(+)
package/libsigsegv/libsigsegv.mk +1 -0
index b8f84da..a1b4f13 100644
@@ -7,6 +7,7 @@
 LIBSIGSEGV_VERSION = 2.6
 LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
 LIBSIGSEGV_INSTALL_STAGING = YES
+LIGSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
 LIBSIGSEGV_LICENSE = GPLv2+
 LIBSIGSEGV_LICENSE_FILES = COPYING
 
Signature · 1 line
1.8.2.1
#1 lore raw

PATCH v2 1/1 libsigsegv: fix build on x86_64 (probably others too)

From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>

The configure script doesn't detect that the target is posix-compliant and tries to use a custom version of segfault analysis that actually doesn't build. Most likely, it's because the configure script doesn't support linux-3.x. Anyway, we can just tell configure that we're posix-compliant.

---
v2: fix mistake in the variable name (forgot to commit)

---
 package/libsigsegv/libsigsegv.mk | 1 +
 1 file changed, 1 insertion(+)
package/libsigsegv/libsigsegv.mk +1 -0
index b8f84da..ac72c6d 100644
@@ -7,6 +7,7 @@
 LIBSIGSEGV_VERSION = 2.6
 LIBSIGSEGV_SITE = $(BR2_GNU_MIRROR)/libsigsegv
 LIBSIGSEGV_INSTALL_STAGING = YES
+LIBSIGSEGV_CONF_ENV = sv_cv_fault_posix=yes
 LIBSIGSEGV_LICENSE = GPLv2+
 LIBSIGSEGV_LICENSE_FILES = COPYING
 
Signature · 1 line
1.8.2.1
#2 lore raw

PATCH v2 1/1 libsigsegv: fix build on x86_64 (probably others too)

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:

Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> The configure script doesn't detect that the target is posix-compliant Arnout> and tries to use a custom version of segfault analysis that actually Arnout> doesn't build. Most likely, it's because the configure script doesn't Arnout> support linux-3.x. Anyway, we can just tell configure that we're Arnout> posix-compliant.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard