<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>ping.<br><br><br><div>&gt; From: jurobystricky@hotmail.com<br>&gt; To: openembedded-core@lists.openembedded.org<br>&gt; CC: sgw@linux.intel.com; peter.seebach@windriver.com<br>&gt; Subject: [PATCH] eglibc-use-option-groups.patch: Various fixups<br>&gt; Date: Sun, 23 Nov 2014 09:44:17 -0800<br>&gt; <br>&gt; Build suppport for mutibyte character handling only when<br>&gt; __OPTION_EGLIBC_LOCALE_CODE evaluates to 1.<br>&gt; Fixes missing .out suffix for several tests to be built.<br>&gt; Fixes building of locales needed for several tests. Do not use<br>&gt; cross-localedef to build locales. Use localedef built with the<br>&gt; newly built libgc instead.<br>&gt; <br>&gt; Fixes:<br>&gt; [YOCTO #6809] [YOCTO #6796] [YOCTO #6797]<br>&gt; <br>&gt; Signed-off-by: Juro Bystricky &lt;jurobystricky@hotmail.com&gt;<br>&gt; ---<br>&gt;  .../glibc/glibc/eglibc-use-option-groups.patch     | 43 ++--------------------<br>&gt;  1 file changed, 4 insertions(+), 39 deletions(-)<br>&gt; <br>&gt; diff --git a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch<br>&gt; index 40c7832..0e2f0c6 100644<br>&gt; --- a/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch<br>&gt; +++ b/meta/recipes-core/glibc/glibc/eglibc-use-option-groups.patch<br>&gt; @@ -2434,24 +2434,7 @@ Index: git/localedata/Makefile<br>&gt;   <br>&gt;   ifeq ($(run-built-tests),yes)<br>&gt;   # We have to generate locales<br>&gt; -@@ -143,9 +161,13 @@<br>&gt; - $(addprefix $(objpfx),$(CTYPE_FILES)): %: \<br>&gt; -   gen-locale.sh $(common-objpfx)locale/localedef Makefile \<br>&gt; -   $(addprefix charmaps/,$(CHARMAPS)) $(addprefix locales/,$(LOCALE_SRCS))<br>&gt; --        @$(SHELL) gen-locale.sh $(common-objpfx) \<br>&gt; --                  '$(built-program-cmd-before-env)' '$(run-program-env)' \<br>&gt; --                  '$(built-program-cmd-after-env)' $@; \<br>&gt; -+        @$(SHELL) gen-locale.sh $(common-objpfx)        \<br>&gt; -+                 '$(if $(cross-localedef),                 \<br>&gt; -+                       $(cross-localedef),                \<br>&gt; -+                       $(built-program-cmd-before-env)  \<br>&gt; -+                       $(run-program-env)                \<br>&gt; -+                       $(built-program-cmd-after-env))' \<br>&gt; -+                       $@; \<br>&gt; -         $(evaluate-test)<br>&gt; - <br>&gt; - $(addsuffix .out,$(addprefix $(objpfx),$(tests))): %: \<br>&gt; -@@ -213,6 +235,11 @@<br>&gt; +@@ -213,6 +231,11 @@<br>&gt;   <br>&gt;   include SUPPORTED<br>&gt;   <br>&gt; @@ -4783,7 +4766,7 @@ Index: git/posix/fnmatch.c<br>&gt;   #  endif<br>&gt;   <br>&gt;  -#  if (HAVE_MBSTATE_T &amp;&amp; HAVE_MBSRTOWCS) || _LIBC<br>&gt; -+#  if (HAVE_MBSTATE_T &amp;&amp; HAVE_MBSRTOWCS) || (_LIBC &amp;&amp; __OPTION_EGLIBC_LOCALE_CODE)<br>&gt; ++#  if (HAVE_MBSTATE_T &amp;&amp; HAVE_MBSRTOWCS &amp;&amp; _LIBC &amp;&amp; __OPTION_EGLIBC_LOCALE_CODE)<br>&gt;   /* In this case we are implementing the multibyte character handling.  */<br>&gt;   #   define HANDLE_MULTIBYTE        1<br>&gt;   #  endif<br>&gt; @@ -5065,8 +5048,8 @@ Index: git/posix/Makefile<br>&gt;                    $(objpfx)bug-glob2-mem.out $(objpfx)tst-vfork3-mem.out \<br>&gt;                    $(objpfx)tst-fnmatch-mem.out $(objpfx)bug-regex36-mem.out<br>&gt;  +ifeq (y,$(OPTION_POSIX_REGEXP_GLIBC))<br>&gt; -+tests-special += $(objpfx)bug-regex14-mem $(objpfx)tst-rxspencer-no-utf8-mem \<br>&gt; -+                   $(objpfx)tst-pcre-mem $(objpfx)tst-boost-mem<br>&gt; ++tests-special += $(objpfx)bug-regex14-mem.out $(objpfx)tst-rxspencer-no-utf8-mem.out \<br>&gt; ++                   $(objpfx)tst-pcre-mem.out $(objpfx)tst-boost-mem.out<br>&gt;  +endif<br>&gt;  +<br>&gt;   xtests-special += $(objpfx)bug-ga2-mem.out<br>&gt; @@ -16458,24 +16441,6 @@ Index: git/sysdeps/nptl/small-macros-fns.c<br>&gt;  +libc_hidden_def (__libc_lock_unlock_recursive_fn);<br>&gt;  +<br>&gt;  +#endif /*defined _LIBC &amp;&amp; (!defined NOT_IN_libc || defined IS_IN_libpthread)*/<br>&gt; -Index: git/include/libc-symbols.h<br>&gt; -===================================================================<br>&gt; ---- git.orig/include/libc-symbols.h        2014-08-29 20:00:47.144070587 -0700<br>&gt; -+++ git/include/libc-symbols.h        2014-08-29 20:01:15.248070587 -0700<br>&gt; -@@ -60,8 +60,11 @@<br>&gt; - /* Define these macros for the benefit of portable GNU code that wants to check<br>&gt; -    them.  Of course, STDC_HEADERS is never false when building libc!  */<br>&gt; - #define STDC_HEADERS        1<br>&gt; --#define HAVE_MBSTATE_T        1<br>&gt; --#define HAVE_MBSRTOWCS        1<br>&gt; -+<br>&gt; -+#if __OPTION_EGLIBC_LOCALE_CODE<br>&gt; -+# define HAVE_MBSTATE_T        1<br>&gt; -+# define HAVE_MBSRTOWCS        1<br>&gt; -+#endif<br>&gt; - #define HAVE_LIBINTL_H        1<br>&gt; - #define HAVE_WCTYPE_H        1<br>&gt; - #define HAVE_ISWCTYPE        1<br>&gt;  Index: git/crypt/crypt_common.c<br>&gt;  ===================================================================<br>&gt;  --- /dev/null        1970-01-01 00:00:00.000000000 +0000<br>&gt; -- <br>&gt; 1.9.1<br>&gt; <br></div>                                               </div></body>
</html>