All of lore.kernel.org
 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 14:30:12 -0400	[thread overview]
Message-ID: <1250620212.6785.43.camel@conroy-linux> (raw)
In-Reply-To: <20090818174157.GB25000@denix.org>

Sorry for not providing more detail at first...

With debian renaming on, glibc, for example, gets renamed to 'libc6' and
packaged as such. Normally, this works because the other packages pick
up the rename at some point along the way. The comment at the top of
debian.bbclass states:

# Debian package renaming only occurs when a package is built
# We therefore have to make sure we build all runtime packages
# before building the current package to make the packages runtime
# depends are correct

So, glibc is packaged as part of my toolchain's sdk. Building
meta-toolchain works just fine. Then, I go to build an image using the
external-toolchain. It fails because opkg cannot satisfy the dependency
for 'glibc (>=2.7)'. This is because the ipkg generated by the debian
rename is named 'libc6_2.7-r9_mipsel.ipk'. During the creation of the
toolchain, all packages picked up this rename. 

Since glibc does not get rebuilt when *using* the external toolchain
(that's sort of the whole point), the debian rename does not occur, and
we have this name mismatch.

This same issue occurs for the other libs in my sdk including libstdc++,
libgcc, etc..

The error went away for me after I turned off Debian Renaming.

On Tue, 2009-08-18 at 13:41 -0400, Denys Dmytriyenko wrote:
> On Tue, Aug 18, 2009 at 12:27:59PM -0400, Chris Conroy wrote:
> > However, I've run in to a different problem. It seems that Debian
> > Renaming does not play nicely with the external toolchain. Digging into
> > the code, it seems that Debian renaming relies on the package being in
> > the workdir to do its magic, which for any prebuilt SDK packages will
> > not hold true. Any thoughts on the proper route to fix this aside from
> > just turning of Debian Renaming?
> 
> Can you please provide more details on the problem? Thanks.
> 



  reply	other threads:[~2009-08-18 18:47 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 [this message]
2009-08-18 19:50         ` Tom Rini
2009-08-18 20:10           ` Chris Conroy
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=1250620212.6785.43.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 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.