All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: nitin.a.kamble@intel.com
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 1/1] poky-tiny: fix eglibc configuration
Date: Mon, 16 Apr 2012 15:42:20 -0700	[thread overview]
Message-ID: <4F8CA04C.8090506@linux.intel.com> (raw)
In-Reply-To: <3137f47d1f99f6ea0b8b98839d0da72686a184aa.1334614375.git.nitin.a.kamble@intel.com>



On 04/16/2012 03:23 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> eglibc needs libc-posix-regexp-glibc & libc-libm-big enabled in it's
> configuration to avoid following eglibc build issue.
> 
> ...
> | In file included from xregex.c:634:0:
> | xregex.c: In function 'byte_regex_compile':
> | xregex.c:3395:8: error: too few arguments to function 'findidx'
> | ../locale/weight.h:23:1: note: declared here
> ...
> 
> This fixes bug [YOCTO #2295]
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  meta-yocto/conf/distro/poky-tiny.conf |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-yocto/conf/distro/poky-tiny.conf b/meta-yocto/conf/distro/poky-tiny.conf
> index 58d64ec..626b2d0 100644
> --- a/meta-yocto/conf/distro/poky-tiny.conf
> +++ b/meta-yocto/conf/distro/poky-tiny.conf
> @@ -62,7 +62,7 @@ ASSUME_PROVIDED += "pkgconfig$"
>  
>  # Reconfigure eglibc for a smaller installation
>  # Comment out any of the lines below to disable them in the build
> -DISTRO_FEATURES_LIBC_TINY = "libc-libm libc-crypt"
> +DISTRO_FEATURES_LIBC_TINY = "libc-libm libc-libm-big libc-crypt"
>  # for gettext
>  DISTRO_FEATURES_LIBC_TINY += "libc-posix-clang-wchar"
>  # for m4
> @@ -71,7 +71,7 @@ DISTRO_FEATURES_LIBC_TINY += "libc-spawn libc-locale-code"
>  DISTRO_FEATURES_LIBC_TINY += "libc-ftraverse"
>  # Required for "who"
>  DISTRO_FEATURES_LIBC_MINIMAL = "libc-utmp libc-getlogin"
> -DISTRO_FEATURES_LIBC_REGEX = "libc-posix-regexp"
> +DISTRO_FEATURES_LIBC_REGEX = "libc-posix-regexp libc-posix-regexp-glibc"
>  DISTRO_FEATURES_LIBC_NET = "libc-inet libc-nis"
>  
>  DISTRO_FEATURES_LIBC = "${DISTRO_FEATURES_LIBC_TINY} \

I have a patch that makes it clear which features are added for the
toolchain. This will make it easier to reduce in the future as well.
I'll test with the libm-big added to that and report on size increase
and send that patch for inclusion.

Nitin, thank you for identifying the missing lib. I would prefer we not
merge this patch as is. It will only collide with my cleanup patch. I
might as well integrate it into the cleanup patch and send it out as
one. Will have it tested and sent out as soon as I can get a few builds
to complete.


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


      parent reply	other threads:[~2012-04-16 22:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-16 22:13 [PATCH 0/1] Misc Fixes nitin.a.kamble
2012-04-16 22:14 ` [PATCH 1/1] poky-tiny: fix eglibc configuration nitin.a.kamble
2012-04-16 22:36   ` Mark Hatle
2012-04-16 22:42   ` Darren Hart [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=4F8CA04C.8090506@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=nitin.a.kamble@intel.com \
    --cc=yocto@yoctoproject.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.