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: Sat, 01 Jan 2011 01:21:00 +0000 [thread overview]
Message-ID: <1293844860.17519.14851.camel@rex> (raw)
In-Reply-To: <AANLkTikQF8=jApjfskB0DwWTqsKf=0WrykkW7tsMtmSF@mail.gmail.com>
On Sat, 2011-01-01 at 00:22 +1100, Angus Lees wrote:
> On Fri, Dec 31, 2010 at 23:46, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > 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.
>
> ok, but where should libgcc be during the linking of libstdc++?
>
> As far as I can see, at this point in a clean build libgcc only exists
> in the temporary gcc-build-internal-* directory, which isn't in the
> gcc search path. libgcc doesn't make it out into the sysroot until
> _after_ libstdc++, libssp, etc are built and gcc-runtime is installed.
> Where should gcc-cross be finding libgcc when linking libstdc++ and
> friends?
This is a good point. Its finding the libgcc installed by
gcc-cross-intermediate. This happens to work out ok but its not a good
design.
We're currently working on various issues in the toolchain bootstrap
process, particularly to ensure that files don't get overwritten in
staging during the bootstrap process. Those changes should help solve
this particular problem too...
Cheers,
Richard
next prev parent reply other threads:[~2011-01-01 1:21 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
2010-12-31 13:22 ` Angus Lees
2011-01-01 1:21 ` Richard Purdie [this message]
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=1293844860.17519.14851.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.