Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: b40527@freescale.com
Cc: Zongchun Yu <Zongchun.Yu@freescale.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] libtool: Add depends on binutils-cross
Date: Tue, 01 Apr 2014 11:52:44 +0100	[thread overview]
Message-ID: <1396349564.1432.6.camel@ted> (raw)
In-Reply-To: <1396332774-31033-1-git-send-email-b40527@freescale.com>

On Tue, 2014-04-01 at 14:12 +0800, b40527@freescale.com wrote:
> From: Zongchun Yu <Zongchun.Yu@freescale.com>
> 
> When use command bitbake -c populate_sdk <target-rootfs> to
> generate toolchain. a race issue may occur. in this case need
> to add binutils-cross to depends.
> 
> Signed-off-by: Zongchun Yu <Zongchun.Yu@freescale.com>
> ---
>  meta/recipes-devtools/libtool/libtool-2.4.2.inc |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
> index d26982d..0868dd7 100644
> --- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
> +++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
> @@ -36,7 +36,7 @@ do_compile_prepend () {
>  inherit autotools
>  EXTRA_AUTORECONF = "--exclude=libtoolize"
>  
> -DEPENDS = "libtool-native"
> +DEPENDS = "libtool-native binutils-cross"
>  
>  PACKAGES =+ "libltdl libltdl-dev libltdl-dbg libltdl-staticdev"
>  FILES_${PN} += "${datadir}/aclocal"


You're patching the .inc file here so this dependency is being applied
to multiple different libtools. Can you perhaps explain the problem you
were seeing with a step by step how to reproduce the problem?

I'd like to understand the real problem here, I don't doubt it exists
but I'm not sure this is the correct fix.

Cheers,

Richard



      parent reply	other threads:[~2014-04-01 10:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01  6:12 [PATCH] libtool: Add depends on binutils-cross b40527
2014-04-01  6:15 ` Khem Raj
2014-04-01  6:37   ` Zongchun YU
2014-04-01  6:46     ` Khem Raj
2014-04-01  7:22       ` Zongchun YU
2014-04-01 10:52 ` Richard Purdie [this message]

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=1396349564.1432.6.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=Zongchun.Yu@freescale.com \
    --cc=b40527@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