All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marko Lindqvist <cazfi74@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: build dependency cycles in openembedded
Date: Mon, 18 Feb 2013 19:22:26 +0200	[thread overview]
Message-ID: <CAF6bG8dwjBY-bQnb8oBRXFZqoK9NzA+T2RGd+=qe0ffZhgKkRA@mail.gmail.com> (raw)
In-Reply-To: <20130218165351.14989.14162@hoothoot>

On 18 February 2013 18:53, Johannes Schauer <j.schauer@email.de> wrote:
> Hi,
>
> Quoting Takeshi Hamasaki (2013-02-18 16:07:36)
>> Before continuing to write reply,
>> I want to make sure about the usage of the word "native":
>>
>> in OpenEmbedded recipe, let's say, when you work on a x86-64 system to build
>> for target system which has ARM architecture,
>>
>> if you want to borrow a xz tool from x86-64 environment: you can write
>>  DEPENDS = xz-native
>>
>> if you depends on xz tool build on target environment: you just write
>>  DEPENDS = xz
>>
>> Is this the custom you assume?
>>
>> What I had to find was the word "native" is used to point the target environment
>> in [1].
>
> The terminology can indeed become very confusing. In our setup we use the GNU
> terminology for cross compilation.
>
>        build machine
>            The machine the package is built on.
>
>        host machine
>            The machine the package is built for.
>
> In some tools for dependency analysis we develop (dose3) we also use the terms
> "native" and "target". For cross compilation, native would be the build
> architecture and target would be the host architecture. By your explanation
> above, the terms seem to have the same meaning in OpenEmbedded so we seem to be
> talking about the same things. :)

 "Native" indeed means binaries that can be run on build architecture.
I think term comes from the fact that they are build as native build,
not cross-compiled. I get more confused when I want to refer something
that's needed in build system prior to OpenEmbedded build, the OE
dependencies. I don't know what's the official term in OpenEmbedded
lingo, but I speak of "build host binaries". Anyway, "native" are
something that are still built as part of OpenEmbedded build process,
such as cross-compiler to be later used in producing binaries for the
target. That might be important for your original question about
cyclic (/infinite recursion) dependencies. OE has both native build
and cross-compile part, and problems can arise in native part too. One
example is that pkg-config version used has not been updated for a
while since build of newer version would depend on glib, which needs
pkg-config to build...


 - ML



  reply	other threads:[~2013-02-18 17:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18  9:41 build dependency cycles in openembedded Johannes Schauer
2013-02-18 12:26 ` Takeshi Hamasaki
2013-02-18 14:20   ` Johannes Schauer
2013-02-18 15:07     ` Takeshi Hamasaki
2013-02-18 16:53       ` Johannes Schauer
2013-02-18 17:22         ` Marko Lindqvist [this message]
2013-02-18 18:54           ` Johannes Schauer
2013-02-18 20:15             ` Andreas Müller
2013-02-19 10:46               ` Johannes Schauer
2013-02-24  8:12                 ` Khem Raj

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='CAF6bG8dwjBY-bQnb8oBRXFZqoK9NzA+T2RGd+=qe0ffZhgKkRA@mail.gmail.com' \
    --to=cazfi74@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.