All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] libunwind: Fix test case link failure on PowerPC systems with Altivec
Date: Tue, 23 Sep 2014 18:59:20 +0200	[thread overview]
Message-ID: <20140923165920.GE25706@jama> (raw)
In-Reply-To: <1411455848-21704-1-git-send-email-ting.liu@freescale.com>

[-- Attachment #1: Type: text/plain, Size: 3049 bytes --]

On Tue, Sep 23, 2014 at 03:04:08PM +0800, ting.liu@freescale.com wrote:
> From: Ting Liu <ting.liu@freescale.com>

libunwind was recently moved to oe-core, please fix it there.

> 
> Signed-off-by: Ting Liu <ting.liu@freescale.com>
> ---
>  ...k-failure-on-PowerPC-systems-with-Altivec.patch | 31 ++++++++++++++++++++++
>  meta-oe/recipes-support/libunwind/libunwind_1.1.bb |  1 +
>  2 files changed, 32 insertions(+)
>  create mode 100644 meta-oe/recipes-support/libunwind/libunwind/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
> 
> diff --git a/meta-oe/recipes-support/libunwind/libunwind/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch b/meta-oe/recipes-support/libunwind/libunwind/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
> new file mode 100644
> index 0000000..e8f4382
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/libunwind/Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch
> @@ -0,0 +1,31 @@
> +From 4c62c4a9556f92495d93eddc7641497e1ce1e35c Mon Sep 17 00:00:00 2001
> +From: Ulrich Weigand <uweigand@de.ibm.com>
> +Date: Tue, 17 Dec 2013 15:00:54 +0100
> +Subject: [PATCH] Fix test case link failure on PowerPC systems with Altivec
> +
> +Upstream-Status:backport
> +
> +On systems where the system compiler supports Altivec by default,
> +the libunwind Makefile will attempt to build an extra test case
> +ppc64-test-altivec.  Unfortunately, the link step will fail since
> +the Makefile does not actually link against the libunwind library.
> +
> +Fixed by adding the appropriate LDADD macro.
> +
> +Signed-off-by: Ulrich Weigand <uweigand@de.ibm.com>
> +---
> + tests/Makefile.am |    1 +
> + 1 files changed, 1 insertions(+), 0 deletions(-)
> +
> +diff --git a/tests/Makefile.am b/tests/Makefile.am
> +index 0e30536..9c76628 100644
> +--- a/tests/Makefile.am
> ++++ b/tests/Makefile.am
> +@@ -201,3 +201,4 @@ Lia64_test_rbs_LDADD = $(LIBUNWIND_local)
> + Lia64_test_readonly_LDADD = $(LIBUNWIND_local)
> + ia64_test_dyn1_LDADD = $(LIBUNWIND)
> + ia64_test_sig_LDADD = $(LIBUNWIND)
> ++ppc64_test_altivec_LDADD = $(LIBUNWIND)
> +-- 
> +1.7.2.5
> +
> diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> index bc38e36..18bca0e 100644
> --- a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> +++ b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> @@ -1,4 +1,5 @@
>  require libunwind.inc
>  
> +SRC_URI += "file://Fix-test-case-link-failure-on-PowerPC-systems-with-Altivec.patch"
>  SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
>  SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"
> -- 
> 1.8.3.2
> 
> -- 
> _______________________________________________
> 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: 188 bytes --]

  reply	other threads:[~2014-09-23 16:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  7:04 [meta-oe][PATCH] libunwind: Fix test case link failure on PowerPC systems with Altivec ting.liu
2014-09-23 16:59 ` Martin Jansa [this message]
2014-10-10 11:45 ` Robert Yang
2014-10-14  7:37   ` ting.liu

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=20140923165920.GE25706@jama \
    --to=martin.jansa@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.