All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Khem Raj <raj.khem@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 3/3] glibc: ignore for musl/uclibc but only for target recipes
Date: Wed, 29 Apr 2015 09:10:59 +0100	[thread overview]
Message-ID: <1430295059.19130.3.camel@linuxfoundation.org> (raw)
In-Reply-To: <c908ef675077815a75f8dbe800a9e9208d80737f.1430285475.git.raj.khem@gmail.com>

On Tue, 2015-04-28 at 22:34 -0700, Khem Raj wrote:
> we still need nativesdk  or native recipes for libc to come
> from glibc, but only be ignored for target recipes types
> 
> Change-Id: Ibaf8114f2aef63f1eadf493b264e78cd928535a0
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-core/glibc/glibc-collateral.inc | 3 +++
>  meta/recipes-core/glibc/glibc_2.21.bb        | 9 +++------
>  2 files changed, 6 insertions(+), 6 deletions(-)

I'm getting *really* frustrated with the continual changes to these
lines of code. Can we please figure out something that works, test it
and make sure that it is the right thing to do, then be done with it.

I'm not merging this for at least a couple of weeks so that we can see
if it is right or not. I'll revert the last set of changes if that helps
though.

Cheers,

Richard

> diff --git a/meta/recipes-core/glibc/glibc-collateral.inc b/meta/recipes-core/glibc/glibc-collateral.inc
> index f82db06..60655eb 100644
> --- a/meta/recipes-core/glibc/glibc-collateral.inc
> +++ b/meta/recipes-core/glibc/glibc-collateral.inc
> @@ -17,3 +17,6 @@ do_compile[noexec] = "1"
>  
>  do_install[depends] += "virtual/${MLPREFIX}libc:do_populate_sysroot"
>  
> +COMPATIBLE_HOST_libc-musl_class-target = "null"
> +COMPATIBLE_HOST_libc-uclibc_class-target = "null"
> +
> diff --git a/meta/recipes-core/glibc/glibc_2.21.bb b/meta/recipes-core/glibc/glibc_2.21.bb
> index 58a9601..5295ddd 100644
> --- a/meta/recipes-core/glibc/glibc_2.21.bb
> +++ b/meta/recipes-core/glibc/glibc_2.21.bb
> @@ -64,14 +64,11 @@ TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
>  GLIBC_BROKEN_LOCALES = " _ER _ET so_ET yn_ER sid_ET tr_TR mn_MN gez_ET gez_ER bn_BD te_IN es_CR.ISO-8859-1"
>  
>  #
> -# We will skip parsing glibc when system C library selection is not glibc
> +# We will skip parsing glibc when target system C library selection is not glibc
>  # this helps in easing out parsing for non-glibc system libraries
>  #
> -python __anonymous () {
> -    if d.getVar('TCLIBC', True) != "glibc":
> -        raise bb.parse.SkipPackage("incompatible with %s C library" %
> -                                   d.getVar('TCLIBC', True))
> -}
> +COMPATIBLE_HOST_libc-musl_class-target = "null"
> +COMPATIBLE_HOST_libc-uclibc_class-target = "null"
>  
>  EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \
>                  --without-cvs --disable-profile \
> -- 
> 2.1.4
> 




  reply	other threads:[~2015-04-29  8:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-29  5:34 [PATCH 0/3] gcc-5 and fixes for curl and non-glibc C libraries Khem Raj
2015-04-29  5:34 ` [PATCH 1/3] gcc: Add 5 recipes Khem Raj
2015-04-29  5:34 ` [PATCH 2/3] curl: Fix wrong assumption about sizeof off_t on largefile systems Khem Raj
2015-04-29  5:34 ` [PATCH 3/3] glibc: ignore for musl/uclibc but only for target recipes Khem Raj
2015-04-29  8:10   ` Richard Purdie [this message]
2015-04-29 14:43     ` Khem Raj

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=1430295059.19130.3.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.com \
    /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.