diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2017-03-17 11:22:58 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-31 13:25:55 +0200 |
commit | 02cf7aba3c06ffc3c1904e930eeb4387e81aa168 (patch) | |
tree | ad6450dc3f3d339c4abca3b0c7292ab7813c317f /meta-oe/recipes-support/gperftools/gperftools | |
parent | f2dfae565531dd126131474b8a15dfe1d2871cc3 (diff) | |
download | meta-openembedded-contrib-02cf7aba3c06ffc3c1904e930eeb4387e81aa168.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support/gperftools/gperftools')
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools/0001-Fix-build-failure-for-ppc.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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 0000000000..27f855d1e9 --- /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@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 + |