From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: linaro-networking@linaro.org, patches@linaro.org
Subject: Re: [PATCH] libhugetlbfs: add support for armv7a
Date: Mon, 28 Oct 2013 09:26:03 +0100 [thread overview]
Message-ID: <20131028082603.GD3704@jama> (raw)
In-Reply-To: <1382105347-27538-1-git-send-email-anders.roxell@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 3101 bytes --]
On Fri, Oct 18, 2013 at 04:09:07PM +0200, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 10 ++++++++--
> 1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> index 24480c3..4f1bfa4 100644
> --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
> @@ -20,10 +20,16 @@ SRC_URI = "git://git.code.sf.net/p/libhugetlbfs/code \
>
> S = "${WORKDIR}/git"
>
> -COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64).*-linux*"
> +COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|arm|aarch64).*-linux*"
>
> +python __anonymous() {
> + if base_contains('TARGET_ARCH', 'arm', True, False, d):
> + d.setVar('ARCH', 'armv7l')
> + else:
> + d.setVar('ARCH', d.getVar('TARGET_ARCH'))
> +}
>
> -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' BUILDTYPE=NATIVEONLY ${LIBARGS}"
> +EXTRA_OEMAKE = "'ARCH=${ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' BUILDTYPE=NATIVEONLY ${LIBARGS}"
> CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0"
>
> TARGET_CC_ARCH += "${LDFLAGS}"
It enables every arm* and fails for qemuarm:
|
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.1/ld:
error: zero_filesize_segment.ld: SECTIONS seen after other input files;
try -T/--script
| collect2: error: ld returned 1 exit status
| CC32 obj32/linkhuge.o
| LD32 (hugelink test) obj32/linkhuge
| CC32 obj32/linkhuge_nofd.o
| LD32 (hugelink test) obj32/linkhuge_nofd
| CC32 obj32/linkshare.o
| LD32 (hugelink test) obj32/linkshare
| CC32 obj32/linkhuge_rw.o
| LD32 (hugelink_rw test) obj32/linkhuge_rw
| arm-oe-linux-gnueabi-ld: error: cannot open text-segment=2097152: No
such file or directory
| arm-oe-linux-gnueabi-ld: fatal error: unable to parse script file
text-segment=2097152
| collect2: error: ld returned 1 exit status
| make[1]: *** [obj32/linkhuge_rw] Error 1
| make: *** [tests/all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/libhugetlbfs/git-r0/temp/log.do_compile.24357)
NOTE: recipe libhugetlbfs-git-r0: task do_compile: Failed
ERROR: Task 23498
(/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb,
do_compile) failed with exit code '1'
> --
> 1.8.1.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: 205 bytes --]
next prev parent reply other threads:[~2013-10-28 8:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 14:09 [PATCH] libhugetlbfs: add support for armv7a Anders Roxell
2013-10-28 8:26 ` Martin Jansa [this message]
2013-11-07 16:03 ` Anders Roxell
2013-11-08 11:29 ` Martin Jansa
2013-10-29 1:42 ` Khem Raj
2013-11-06 9:05 ` Anders Roxell
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=20131028082603.GD3704@jama \
--to=martin.jansa@gmail.com \
--cc=linaro-networking@linaro.org \
--cc=openembedded-devel@lists.openembedded.org \
--cc=patches@linaro.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.