Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Chris Conroy <Chris.Conroy@hillcrestlabs.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: gcc-cross-sdk (GCC 4.2.3) limits.h woes
Date: Tue, 18 Aug 2009 16:10:36 -0400	[thread overview]
Message-ID: <1250626236.6785.50.camel@conroy-linux> (raw)
In-Reply-To: <20090818195028.GU2227@smtp.west.cox.net>

On Tue, 2009-08-18 at 12:50 -0700, Tom Rini wrote:
> 
> OK, here's the problem, I think.  You're trying to make an image for say
> i686-armv6-sdk-linux-gnueabi?  What are you expecting to be in this raw
> image however, the contents of say meta-toolchain, extracted and put
> into a ext2?  For most people, meta-toolchain, and the resulting tarball
> are the output that gets used.
> 

The problem is the dependencies get satisfied during the build because
package X depends on glibc, but external-toolchain.bb chimes in and says
"Hi, I provide virtual/libc." Package X builds and links just fine since
the external-toolchain dropped everything in the right place.

The problem comes whenever opkg needs to deal with dependencies since it
doesn't know about 'virtual/libc'. It sees that Package X wants glibc
and it can't find it since it only knows about the debian-named version
called 'libc6'. Glibc never gets built (since it's already been built)
and thus never gets debian renamed.

I don't see any easy path to change debian.bbclass since it requires
introspection on the TMPDIR which does not exist for users of an
external toolchain.

I hope this is clear. Let me know if there are any points of confusion.

In the meantime, turning off the renaming successfully works around this
bug.

--Chris Conroy



  reply	other threads:[~2009-08-18 20:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 15:19 gcc-cross-sdk (GCC 4.2.3) limits.h woes Chris Conroy
2009-08-13 15:52 ` Holger Hans Peter Freyther
2009-08-13 15:59 ` Khem Raj
2009-08-18 16:27   ` Chris Conroy
2009-08-18 17:41     ` Denys Dmytriyenko
2009-08-18 18:30       ` Chris Conroy
2009-08-18 19:50         ` Tom Rini
2009-08-18 20:10           ` Chris Conroy [this message]
2009-08-18 21:21             ` Phil Blundell
2009-08-18 21:25             ` Khem Raj
2009-08-18 21:32               ` Phil Blundell
2009-08-18 22:42                 ` External Toolchains " Denys Dmytriyenko
2009-08-19  3:17         ` Holger Hans Peter Freyther
2009-08-19 14:26           ` Chris Conroy
2009-08-19 15:11             ` Holger Hans Peter Freyther
2009-08-18 21:39       ` Is there an easy way to get a minimalist image without I18n libraries? Lars Holowko
2009-08-19 12:24         ` Is there an easy way to get a minimalist image without I18nLibraries? marcin
2009-08-19 20:32           ` Lars Holowko

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=1250626236.6785.50.camel@conroy-linux \
    --to=chris.conroy@hillcrestlabs.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox