From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Angus Lees <guslees@gmail.com>
Cc: poky@yoctoproject.org
Subject: Re: question re gcc-runtime vs libgcc
Date: Fri, 31 Dec 2010 12:46:14 +0000 [thread overview]
Message-ID: <1293799575.17519.12488.camel@rex> (raw)
In-Reply-To: <AANLkTimxU1u-NZUuAft=BqVXZuphRNi06OxH_cw55Hae@mail.gmail.com>
On Fri, 2010-12-31 at 21:51 +1100, Angus Lees wrote:
> Sorry if the answer is obvious, but I'm trying to put together some
> sdk packages and I can't see how gcc-runtime is supposed to build.
>
> I'd like to have a static libgcc.a to isolate the sdk from whatever
> libgcc.so the platform ships. I've modified the gcc-cross{,sdk}
> recipes appropriately and this part all seems to build as expected.
> gcc-runtime however fails to build because libgcc doesn't get pulled
> from its gcc-build-internal-* hiding place until do_install() - way
> too late to be available during the build of the actual gcc-runtime
> libraries. I don't see how the situation would be any different with
> a shared libgcc.so.
>
> Can someone walk me through how this part of gcc-runtime is meant to work?
>
>
> Also: I think in my case, I actually want to ship libgcc.a in
> gcc-cross{,sdk} itself since it needs to correspond with the compiler
> used (rather than the target sysroot as such) - but I admit I'm a bit
> lost in a maze of twisty cross targets, all almost alike. Does this
> seem a reasonable thing to do?
> (This made sense to me in openembedded-land, but I haven't quite got
> my head around the gcc-runtime and gcc-crosssdk subtleties yet)
gcc-runtime is build process for bits that can be built standalone like
libstdc++. For pieces of gcc that can't be built separately like libgcc,
we take a stashed version of it from gcc-cross and only package it as
part of gcc-runtime.
It sounds like you want to change the bits that gcc-cross is stashing
for gcc-runtime to package.
Note that the gcc recipe versions need to match. We don't support mix
and patch of different versions in a given build/sdk.
Cheers,
Richard
next prev parent reply other threads:[~2010-12-31 12:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-31 10:51 question re gcc-runtime vs libgcc Angus Lees
2010-12-31 12:46 ` Richard Purdie [this message]
2010-12-31 13:22 ` Angus Lees
2011-01-01 1:21 ` Richard Purdie
2011-01-05 13:44 ` Angus Lees
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=1293799575.17519.12488.camel@rex \
--to=richard.purdie@linuxfoundation.org \
--cc=guslees@gmail.com \
--cc=poky@yoctoproject.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.