[oe-commits] [meta-openembedded] 01/45: gperftools: fix do_compile failure for qemuppc
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 31 15:19:13 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master
in repository meta-openembedded.
commit 02cf7aba3c06ffc3c1904e930eeb4387e81aa168
Author: Qi.Chen at windriver.com <Qi.Chen at windriver.com>
AuthorDate: Fri Mar 17 11:22:58 2017 +0800
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 at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../0001-Fix-build-failure-for-ppc.patch | 28 ++++++++++++++++++++++
.../recipes-support/gperftools/gperftools_2.5.bb | 3 ++-
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch
new file mode 100644
index 0000000..27f855d
--- /dev/null
+++ b/meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch
@@ -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 at 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
+
diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
index 3cab423..15cfc97 100644
--- a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
+++ b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a"
DEPENDS = "libunwind"
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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list