From: Martin Jansa <martin.jansa@gmail.com>
To: Chen Qi <Qi.Chen@windriver.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] gperftools: fix do_compile failure for qemuppc
Date: Thu, 16 Mar 2017 17:44:05 +0100 [thread overview]
Message-ID: <20170316164405.GA3298@jama> (raw)
In-Reply-To: <20170316084053.26807-1-Qi.Chen@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 2821 bytes --]
On Thu, Mar 16, 2017 at 04:40:53PM +0800, Chen Qi wrote:
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Please rebase and test on recent master.
> ---
> .../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
>
> diff --git a/meta-oe/recipes-support/gperftools/files/0001-Fix-build-failure-for-ppc.patch b/meta-oe/recipes-support/gperftools/files/0001-Fix-build-failure-for-ppc.patch
> new file mode 100644
> index 0000000..27f855d
> --- /dev/null
> +++ b/meta-oe/recipes-support/gperftools/files/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
> +
> diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
> index 2e4479c..64766c6 100644
> --- a/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
> +++ b/meta-oe/recipes-support/gperftools/gperftools_2.5.bb
> @@ -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"
> --
> 2.8.3
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
prev parent reply other threads:[~2017-03-16 16:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 8:40 [meta-oe][PATCH] gperftools: fix do_compile failure for qemuppc Chen Qi
2017-03-16 16:44 ` Martin Jansa [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170316164405.GA3298@jama \
--to=martin.jansa@gmail.com \
--cc=Qi.Chen@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox