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 5/8] libunwind: add 1.1 with preliminary aarch64 patch
Date: Sat, 16 Feb 2013 06:21:10 +0100	[thread overview]
Message-ID: <20130216052110.GV3300@jama> (raw)
In-Reply-To: <1360234263-18278-6-git-send-email-marcin.juszkiewicz@linaro.org>

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

On Thu, Feb 07, 2013 at 11:51:00AM +0100, Marcin Juszkiewicz wrote:
> Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
> ---
>  meta-oe/recipes-support/libunwind/files/aarch64.patch | 19 +++++++++++++++++++
>  meta-oe/recipes-support/libunwind/libunwind.inc       | 12 ++++++++++++
>  meta-oe/recipes-support/libunwind/libunwind_1.1.bb    |  6 ++++++
>  3 files changed, 37 insertions(+)
>  create mode 100644 meta-oe/recipes-support/libunwind/files/aarch64.patch
>  create mode 100644 meta-oe/recipes-support/libunwind/libunwind.inc
>  create mode 100644 meta-oe/recipes-support/libunwind/libunwind_1.1.bb

Does not build for qemuarm:

../src/.libs/libunwind.so -lc -lgcc /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/liblzma.so -pthread
| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm -O2 -pipe -g -feliminate-unused-debug-types -fexceptions -Wall -Wsign-compare -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o .libs/Gperf-simple Gperf-simple.o  ../src/.libs/libunwind-arm.so /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libunwind/1.1-r0/libunwind-1.1/src/.libs/libunwind.so ../src/.libs/libunwind.so -lc -lgcc /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/liblzma.so -pthread
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
| collect2: error: ld returned 1 exit status
| make[1]: *** [test-coredump-unwind] Error 1
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
| collect2: error: ld returned 1 exit status
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add'
| ../src/.libs/libunwind-arm.so: undefined reference to `AO_fetch_and_add1'
| collect2: error: ld returned 1 exit status
| make[1]: *** [Gperf-trace] Error 1
| make[1]: *** [Gperf-simple] Error 1
| make[1]: Leaving directory `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libunwind/1.1-r0/libunwind-1.1/tests'
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libunwind/1.1-r0/temp/log.do_compile.20241 for further information)
NOTE: recipe libunwind-1.1-r0: task do_compile: Failed

Complete log:

http://logs.nslu2-linux.org/buildlogs/oe/oe-shr-core-branches/log.world.20130215_060633.log/

> 
> diff --git a/meta-oe/recipes-support/libunwind/files/aarch64.patch b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> new file mode 100644
> index 0000000..9ea8d83
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/files/aarch64.patch
> @@ -0,0 +1,19 @@
> +---
> + configure.ac |    2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +--- libunwind-1.1.orig/configure.ac
> ++++ libunwind-1.1/configure.ac
> +@@ -135,11 +135,11 @@ AM_CONDITIONAL(OS_HPUX, expr x$target_os
> + AM_CONDITIONAL(OS_FREEBSD, expr x$target_os : xfreebsd >/dev/null)
> + 
> + AC_MSG_CHECKING([for ELF helper width])
> + case "${target_arch}" in
> + (arm|hppa|ppc32|x86|sh) use_elf32=yes; AC_MSG_RESULT([32]);;
> +-(ia64|ppc64|x86_64)    use_elf64=yes; AC_MSG_RESULT([64]);;
> ++(ia64|ppc64|x86_64|aarch64)    use_elf64=yes; AC_MSG_RESULT([64]);;
> + (mips)                 use_elfxx=yes; AC_MSG_RESULT([xx]);;
> + *)                     AC_MSG_ERROR([Unknown ELF target: ${target_arch}])
> + esac
> + AM_CONDITIONAL(USE_ELF32, [test x$use_elf32 = xyes])
> + AM_CONDITIONAL(USE_ELF64, [test x$use_elf64 = xyes])
> diff --git a/meta-oe/recipes-support/libunwind/libunwind.inc b/meta-oe/recipes-support/libunwind/libunwind.inc
> new file mode 100644
> index 0000000..f028766
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/libunwind.inc
> @@ -0,0 +1,12 @@
> +DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
> +HOMEPAGE = "http://www.nongnu.org/libunwind"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=3fced11d6df719b47505837a51c16ae5"
> +
> +SRC_URI = "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz"
> +
> +inherit autotools
> +
> +EXTRA_OECONF_arm = "--enable-debug-frame"
> +
> +BBCLASSEXTEND = "native"
> diff --git a/meta-oe/recipes-support/libunwind/libunwind_1.1.bb b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> new file mode 100644
> index 0000000..dd6b63c
> --- /dev/null
> +++ b/meta-oe/recipes-support/libunwind/libunwind_1.1.bb
> @@ -0,0 +1,6 @@
> +require libunwind.inc
> +
> +SRC_URI += "file://aarch64.patch"
> +
> +SRC_URI[md5sum] = "fb4ea2f6fbbe45bf032cd36e586883ce"
> +SRC_URI[sha256sum] = "9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a"
> -- 
> 1.8.0
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

  reply	other threads:[~2013-02-16  5:37 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 10:50 Some recipes from my work on HipHopVM Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 1/8] google-glog: added svn version Marcin Juszkiewicz
2013-02-16  5:18   ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 2/8] tbb: add 4.1-20121003 version with preliminary AArch64 support Marcin Juszkiewicz
2013-02-16  5:16   ` Martin Jansa
2013-02-07 10:50 ` [meta-oe][PATCH 3/8] oniguruma: add 5.9.3 version Marcin Juszkiewicz
2013-02-07 10:50 ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-18 22:52   ` Martin Jansa
2013-04-23  8:43     ` [meta-oe][PATCH v2] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 5/8] libunwind: add 1.1 with preliminary aarch64 patch Marcin Juszkiewicz
2013-02-16  5:21   ` Martin Jansa [this message]
2013-02-18  9:08     ` Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-15  7:11   ` Martin Jansa
2013-02-15 11:46     ` [meta-oe][PATCH] " Marcin Juszkiewicz
2013-02-15 21:40       ` Martin Jansa
2013-02-18  7:52         ` [meta-oe][PATCH 8/8] " Marcin Juszkiewicz
2013-04-23  8:44           ` [meta-oe][PATCH v5] " Marcin Juszkiewicz
2013-02-07 10:51 ` [meta-oe][PATCH 7/8] libmemcrypt: add 2.5.8 Marcin Juszkiewicz
2013-02-16  5:17   ` Martin Jansa
2013-02-07 10:51 ` [meta-oe][PATCH 8/8] google-perftools: add 2.0 Marcin Juszkiewicz
2013-02-16  5:23   ` Martin Jansa
2013-02-19  4:09     ` Martin Jansa
2013-02-25 10:55       ` [meta-oe][PATCH] gperftools: " Marcin Juszkiewicz
2013-02-08  9:34 ` Some recipes from my work on HipHopVM Paul Eggleton
2013-02-08 17:16   ` [meta-oe][PATCH 6/8] libmemcached: add 1.0.15 and 1.0.7 versions Marcin Juszkiewicz
2013-02-08 17:16     ` [meta-oe][PATCH 4/8] memcached: add 1.4.15 Marcin Juszkiewicz
2013-02-24  7:53       ` Khem Raj
2013-02-08 17:06 ` [meta-oe][PATCH] cyrus-sasl2: add 2.1.26 Marcin Juszkiewicz
2013-02-08 17:13   ` Paul Eggleton
2013-02-08 17:27     ` Marcin Juszkiewicz
2013-02-18 22:55   ` Martin Jansa

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=20130216052110.GV3300@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.