public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Holger Hans Peter Freyther <holger@moiji-mobile.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] archiver.bbclass: Archive the native builds as well
Date: Sun, 20 Jan 2013 12:56:08 +0000	[thread overview]
Message-ID: <1358686568.14265.20.camel@ted> (raw)
In-Reply-To: <20130119084426.GH15126@xiaoyu.lan>

On Sat, 2013-01-19 at 09:44 +0100, Holger Hans Peter Freyther wrote:
> On Fri, Jan 18, 2013 at 10:25:43AM -0800, Saul Wold wrote:
> > 
> > I understand what the issue is here, but I am not sure this is the
> > right solution. This will likely bring in way more than is wanted or
> > needed for source archiving.
> > 
> > What's needed from the opkg-utils-native?
> 
> IANAL so let me say it is company/personal policy to release more than
> would be the minimumm specially to avoid corner cases like we have with
> gcc/libgcc.
> 
> I think there are some issues..
> 
> a.) Missing option to tarball everything. I can prepare a patch for that.
> 
> b.) At least libgcc sources not being present.
> 
> c.) How can I get back to compliance? I would have to use something like
> the old DISTRO_PR after I patched the archiver class and rebuild everything.
> How can this be handled today? I have installations in the field that I
> want to upgrade, so the PR of each package should increase.
> 
> d.) Verify that for the meta-toolchain target the necessary GCC sources
> are archived.
> 
> cheers
> 	holger
> 
> PS: Re-sent from the right address

From a technical perspective, I think gcc could be breaking for two
reasons:

a) It uses the "shared sources" functionality so there is one ${S}
directory for all the different targets. I'm not sure if the archiver
class interacts well with that.

b) libgcc is a "stub" recipe which packages pieces built by a cross
recipe and stashed in the sysroot. The recipe is important as it is a
"target" recipe rather than the other cross recipes.

I'm not sure how removing "native" from the class helps either of these
two things though. Its not like we have a gcc-native or a libgcc-native.

So there could well be a problem here but I'm not feeling happy we've
solved it yet. More information would be appreciated.

Cheers,

Richard





  reply	other threads:[~2013-01-20 13:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 14:34 [PATCH] archiver.bbclass: Archive the native builds as well Holger Hans Peter Freyther
2013-01-18 18:24 ` kevin.strasser
2013-01-18 18:35   ` Saul Wold
2013-01-18 18:25 ` Saul Wold
2013-01-19  8:44   ` Holger Hans Peter Freyther
2013-01-20 12:56     ` Richard Purdie [this message]
2013-01-20 15:47       ` Holger Hans Peter Freyther

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=1358686568.14265.20.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=holger@moiji-mobile.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