From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: OE gcc-cross with builtin sysroot, BUG?
Date: Wed, 11 Sep 2013 12:33:14 +0100 [thread overview]
Message-ID: <523054FA.2080902@r-finger.com> (raw)
In-Reply-To: <CAP71Wjynkd=CGry-YKvEetsuGvoXmhwhVAF1rXuOuo-nh7V2CQ@mail.gmail.com>
Hi,
On 11/09/13 11:29, Nicolas Dechesne wrote:
> To me the problem is that gcc-cross 'embedds' some $MACHINE data in its
> package, but it is not marked as 'machine specific, but arch specific.
> So several machines will end up sharing the same gcc-cross package.
The cross compiler should not be machine specific, that makes no sense.
It seems to me that your problem comes entirely from the introduction of
the machine element into the location of the *architecture* sysroot,
which is not how the OE system is designed to work -- if your sysroot
(i.e., the tmp dir) is in different place for different builds, then
they are entirely separate builds, you should not share sstate between
them. If you want to share the sstate, you need to share the sysroot.
But it might be worth having some sort of sanity checker to catch this
kind of misconfiguration.
Tomas
--
http://sleepfive.com
next prev parent reply other threads:[~2013-09-11 11:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 10:29 OE gcc-cross with builtin sysroot, BUG? Nicolas Dechesne
2013-09-11 11:33 ` Tomas Frydrych [this message]
2013-09-11 12:03 ` Richard Purdie
2013-09-11 12:00 ` Richard Purdie
2013-09-11 13:01 ` Nicolas Dechesne
2013-09-11 13:06 ` Richard Purdie
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=523054FA.2080902@r-finger.com \
--to=tf+lists.yocto@r-finger.com \
--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