From: Geoffrey Wossum <geoffrey@pager.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: AVR32 + OpenEmbedded: Problems with uclibc-initial do_populate_staging ()
Date: Fri, 7 Mar 2008 16:56:41 -0600 [thread overview]
Message-ID: <200803071656.41738.geoffrey@pager.net> (raw)
In-Reply-To: <1204754380.8110.186.camel@dax.rpnet.com>
On Wednesday 05 March 2008 03:59:40 pm Richard Purdie wrote:
> Which distro and machine are you using? This sounds like something which
> isn't using sysroot or the sysroot workarounds.
>
> Poking around cross hasn't been needed for a while and instead of the
> above, building "cross-linkage" might help. This was removed from the
> linux-libc-headers DEPENDS recently. You may also need
> "staging-linkage", it all depends on the compiler though and if its
> sysroot capable, enabling that would be infinitely preferable.
So much for blaming Atmel for their ld patch. I think I found the REAL
problem.
Checking the log.do_configure for gcc-cross-initial, --with-sysroot was NOT
getting passed to gcc's configure script.
So I started parsing gcc-cross-initial_4.1.2.bb by hand. Here's what it looks
like is happening to me. Eventually, gcc3-build-cross.inc gets required in.
This file will set EXTRA_OECONF to have the "--with-sysroot" option. But a
little later, gcc-cross-initial.inc gets required in. This file resets
EXTRA_OECONF, so the "--with-sysroot" option added by gcc3-build-cross.inc
gets lost.
I attempted to just swap the order of "require gcc-cross_${PV}.bb"
and "require gcc-cross-initial.inc" in gcc-cross-initial_4.1.2.bb. Doing
a "bitbake -c rebuild gcc-cross-initial" built the gcc-cross-initial with the
proper "--with-sysroot" option. Hooray! But then when I tried to resume
building the image, this swap made the overall build system think
that "avr32-gcc-initial-4.1.2" wasn't available. Back to the drawing board.
So then I changed gcc-cross-initial.inc to append onto EXTRA_OECONF instead of
setting EXTRA_OECONF. This seems to work for me now, although I don't know
what other implications this change may have.
Comments?
---
Geoffrey
next prev parent reply other threads:[~2008-03-07 22:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-05 19:49 AVR32 + OpenEmbedded: Problems with uclibc-initial do_populate_staging() Geoffrey Wossum
2008-03-05 20:43 ` Richard Purdie
2008-03-05 20:58 ` AVR32 + OpenEmbedded: Problems with uclibc-initial do_populate_staging () Geoffrey Wossum
2008-03-05 21:59 ` Richard Purdie
2008-03-05 22:47 ` Geoffrey Wossum
2008-03-07 22:56 ` Geoffrey Wossum [this message]
2008-03-07 23:33 ` Richard Purdie
2008-03-07 23:46 ` Geoffrey Wossum
2008-03-10 13:59 ` Geoffrey Wossum
2008-03-07 21:23 ` Geoffrey Wossum
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=200803071656.41738.geoffrey@pager.net \
--to=geoffrey@pager.net \
--cc=openembedded-devel@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 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.