gperftools: fix do_compile failure for qemuppc
PATCH 1/1 gperftools: fix do_compile failure for qemuppc
Signed-off-by Chen Qi <[email protected]>
--- .../files/0001-Fix-build-failure-for-ppc.patch | 28 ++++++++++++++++++++++ .../recipes-support/gperftools/gperftools_2.5.bb | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/gperftools/files/0001-Fix-build-failure-for-ppc.patch
meta-oe/recipes-support/gperftools/files/0001-Fix-build-failure-for-ppc.patch new file +28 -0
@@ -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 <[email protected]> +--- + 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 +
meta-oe/recipes-support/gperftools/gperftools_2.5.bb +2 -1
@@ -4,7 +4,8 @@ LICENSE = "BSD" 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" +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/gperftools/gperftools-2.5.tar.gz/aa1eaf95dbe2c9828d0bd3a00f770f50/gperftools-2.5.tar.gz \ + file://0001-Fix-build-failure-for-ppc.patch" SRC_URI[md5sum] = "aa1eaf95dbe2c9828d0bd3a00f770f50" SRC_URI[sha256sum] = "6fa2748f1acdf44d750253e160cf6e2e72571329b42e563b455bde09e9e85173"
Signature · 1 line
2.8.3
Quoted 1 line · Chen Qi
Signed-off-by Chen Qi <[email protected]>
Please rebase and test on recent master.
Quoted 62 lines
--- .../files/0001-Fix-build-failure-for-ppc.patch | 28 ++++++++++++++++++++++ .../recipes-support/gperftools/gperftools_2.5.bb | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/gperftools/files/0001-Fix-build-failure-for-ppc.patchmeta-oe/recipes-support/gperftools/files/0001-Fix-build-failure-for-ppc.patch new file +28
-0@@ -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 <[email protected]> +--- + 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 +meta-oe/recipes-support/gperftools/gperftools_2.5.bb +2
-1@@ -4,7 +4,8 @@ LICENSE = "BSD" 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" +SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/gperftools/gperftools-2.5.tar.gz/aa1eaf95dbe2c9828d0bd3a00f770f50/gperftools-2.5.tar.gz \ + file://0001-Fix-build-failure-for-ppc.patch" SRC_URI[md5sum] = "aa1eaf95dbe2c9828d0bd3a00f770f50" SRC_URI[sha256sum] = "6fa2748f1acdf44d750253e160cf6e2e72571329b42e563b455bde09e9e85173"Signature · 7 lines
2.8.3 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]