Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: Does support for external toolchains working in current OE?
Date: Fri, 5 Apr 2013 23:20:38 +0200	[thread overview]
Message-ID: <20130405212038.GG3191@jama> (raw)
In-Reply-To: <515E976C.8060302@linaro.org>

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

On Fri, Apr 05, 2013 at 11:20:44AM +0200, Marcin Juszkiewicz wrote:
> For last few months I am working on fixing Linaro binary cross
> toolchains and their support in OpenEmbedded. Got to point when they 
> work (both AArch64 and ARMv7a ones) for single packages but problem 
> starts when I want to create image...

Today I got different king of issue with external toolchain.

systemd is using AC_PATH_TOOL(OBJCOPY, objcopy)
but host prefix in OE is not the same as in binary toolchain (different TARGET_VENDOR)
so it looks for configure:14545: checking for arm-foo-linux-gnueabi-objcopy
while binary toolchain has only               arm-bar-linux-gnueabi-objcopy

and because arm-foo-linux-gnueabi-objcopy wasn't found it continues:
configure:14588: checking for objcopy
configure:14606: found /usr/bin/objcopy
and bam a lot later when it tries objcopy from host on some arm lib

Interesting that systemd is first recipe in our image where I've noticed
issues like this

Any idea how to easily resolve this without checking every configure.ac
how it's looking for e.g. objcopy?

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

  parent reply	other threads:[~2013-04-05 21:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-05  9:20 Does support for external toolchains working in current OE? Marcin Juszkiewicz
2013-04-05  9:26 ` Marcin Juszkiewicz
2013-04-05  9:54 ` Richard Purdie
2013-04-05  9:56   ` Marcin Juszkiewicz
2013-04-05 10:11     ` Richard Purdie
2013-04-05 11:48       ` Marcin Juszkiewicz
2013-04-05 12:21 ` Marcin Juszkiewicz
2013-04-05 12:26   ` Marcin Juszkiewicz
2013-04-05 12:31   ` Richard Purdie
2013-04-05 21:20 ` Martin Jansa [this message]
2013-04-05 22:08   ` Chris Larson
2013-04-05 22:10     ` Martin Jansa
2013-04-06 12:43       ` 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=20130405212038.GG3191@jama \
    --to=martin.jansa@gmail.com \
    --cc=marcin.juszkiewicz@linaro.org \
    --cc=openembedded-core@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