From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: McClintock Matthew-B29882 <B29882@freescale.com>
Subject: Re: [PATCH] eglibc-initial: Ensure symlinks point to the correct location when built from sstate cache
Date: Tue, 29 Nov 2011 17:30:51 +0000 [thread overview]
Message-ID: <1322587851.7964.4.camel@ted> (raw)
In-Reply-To: <1322571778.3166.12.camel@ted>
On Tue, 2011-11-29 at 13:02 +0000, Richard Purdie wrote:
> On Tue, 2011-11-29 at 13:30 +0100, Martin Jansa wrote:
> > On Tue, Nov 29, 2011 at 12:26:04PM +0000, Richard Purdie wrote:
> > > If the sstate files are installed into a sysroot from the sstate cache,
> > > the directory to the main sysroot can change and the symlinks aren't
> > > adjusted to account for this. This is a problem specific to the toolchain
> > > bootstrap process. This patch adds up a function to recreate the
> > > symlinks, hence ensuring they always point at the correct location.
> >
> > Similar issue is IMHO in python and apr (and probably more)
> > http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012149.html
>
> Its similar but not that similar. The toolchain sysroots are special in
> that the bootstrap one needs to refer to the non-bootstrap one via
> symlinks.
>
> The path references you mention above should be detected by the sstate
> relocation code and fixed up automatically. It sounds like the search
> and replace expressions we're using aren't catching every reference we
> need to which is a different problem.
As a hint, I think:
SSTATE_SCAN_CMD ?= "find ${SSTATE_BUILDDIR} \( -name "*.la" -o -name "*-config" \) -type f"
might need "Makefile" adding to that list of files to mangle...
Cheers,
Richard
next prev parent reply other threads:[~2011-11-29 17:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-28 22:57 [PATCH] eglibc-initial: Fix kernel headers symlink being wrong Matthew McClintock
2011-11-28 23:15 ` McClintock Matthew-B29882
2011-11-29 12:25 ` Richard Purdie
2011-11-29 12:26 ` [PATCH] eglibc-initial: Ensure symlinks point to the correct location when built from sstate cache Richard Purdie
2011-11-29 12:30 ` Martin Jansa
2011-11-29 13:02 ` Richard Purdie
2011-11-29 17:30 ` Richard Purdie [this message]
2011-11-30 22:00 ` Khem Raj
2011-11-29 1:00 ` [PATCH] eglibc-initial: Fix kernel headers symlink being wrong Khem Raj
2011-11-29 19:49 ` Khem Raj
2011-11-29 20:04 ` McClintock Matthew-B29882
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=1322587851.7964.4.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=B29882@freescale.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