mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 04:49:29 +00:00
gperftools: fix do_compile failure for qemuppc
Fix the following error for qemuppc. error: 'siginfo_t' does not name a type Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
f2dfae5655
commit
02cf7aba3c
@@ -0,0 +1,28 @@
|
|||||||
|
Subject: Fix build failure for ppc
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
|
||||||
|
Fix the following build failure.
|
||||||
|
|
||||||
|
error: 'siginfo_t' does not name a type
|
||||||
|
|
||||||
|
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
||||||
|
---
|
||||||
|
src/stacktrace_powerpc-linux-inl.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h
|
||||||
|
index 5d16fa1..a9bf775 100644
|
||||||
|
--- a/src/stacktrace_powerpc-linux-inl.h
|
||||||
|
+++ b/src/stacktrace_powerpc-linux-inl.h
|
||||||
|
@@ -44,6 +44,7 @@
|
||||||
|
|
||||||
|
#include <stdint.h> // for uintptr_t
|
||||||
|
#include <stdlib.h> // for NULL
|
||||||
|
+#include <signal.h> // for siginfo_t
|
||||||
|
#include <gperftools/stacktrace.h>
|
||||||
|
#include <base/vdso_support.h>
|
||||||
|
|
||||||
|
--
|
||||||
|
2.8.3
|
||||||
|
|
||||||
@@ -6,6 +6,7 @@ DEPENDS = "libunwind"
|
|||||||
|
|
||||||
SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/gperftools/gperftools-2.5.tar.gz/aa1eaf95dbe2c9828d0bd3a00f770f50/gperftools-2.5.tar.gz \
|
SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/gperftools/gperftools-2.5.tar.gz/aa1eaf95dbe2c9828d0bd3a00f770f50/gperftools-2.5.tar.gz \
|
||||||
file://0001-Support-Atomic-ops-on-clang.patch \
|
file://0001-Support-Atomic-ops-on-clang.patch \
|
||||||
|
file://0001-Fix-build-failure-for-ppc.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "aa1eaf95dbe2c9828d0bd3a00f770f50"
|
SRC_URI[md5sum] = "aa1eaf95dbe2c9828d0bd3a00f770f50"
|
||||||
|
|||||||
Reference in New Issue
Block a user