<div dir="ltr">Yep, overriding it for nativesdk now (and will propose we change the default later)</div><div class="gmail_extra"><br><div class="gmail_quote">On 23 February 2018 at 14:45, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Feb 23, 2018 at 4:29 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt; wrote:<br>
&gt; I&#39;ve made it work!  See the patches in poky-contrib:ross/glibc, although I&#39;m<br>
&gt; cleaning them up now.<br>
&gt;<br>
<br>
<br>
</span>LOCALE_UTF8_IS_DEFAULT setting is in conf/distro/include/default-<wbr>distrovars.inc<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Ross<br>
&gt;<br>
&gt; On 23 February 2018 at 03:06, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; glibc community thinks that the way we are depending upon old<br>
&gt;&gt; localedata while using newer<br>
&gt;&gt; glibc in nativesdk is not a supported usecase, and there is no<br>
&gt;&gt; guarantees of internal data structures changes between major releases,<br>
&gt;&gt; like what we are facing here. The suggestion is<br>
&gt;&gt; to ship own localedata instead of relying on SDK host. You can follow<br>
&gt;&gt; the discussion on glibc<br>
&gt;&gt; thread I added in previous email and if have some suggestions or<br>
&gt;&gt; inputs feel free.<br>
&gt;&gt;<br>
&gt;&gt; I will try to come up with a patch along with this upgrade to add<br>
&gt;&gt; nativesdk locale along and<br>
&gt;&gt; check if this fixes the issue we have<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Feb 17, 2018 at 11:58 PM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Wanted to send update on this issue<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I got to bottom of this issue and Ross you should have known it :)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href="https://patchwork.openembedded.org/patch/127105/" rel="noreferrer" target="_blank">https://patchwork.<wbr>openembedded.org/patch/127105/</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; introduced an optimization into nativesdk glibc to let it ride on<br>
&gt;&gt; &gt; localedate<br>
&gt;&gt; &gt; from SDK host. This has now broken in glibc with<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; <a href="https://github.com/kraj/glibc/commit/95cb863a1ef7760a11272bbd7ba5fe62dc41be54" rel="noreferrer" target="_blank">https://github.com/kraj/glibc/<wbr>commit/<wbr>95cb863a1ef7760a11272bbd7ba5fe<wbr>62dc41be54</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; it is recommended for static programs to be relinked if using glibc 2.27<br>
&gt;&gt; &gt; our case is also similar mismatch of libc version and localedata just in<br>
&gt;&gt; &gt; opposite direction where we are trying to read old data with new glibc<br>
&gt;&gt; &gt; instead.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have initiated a discussion within glibc community on it to explore<br>
&gt;&gt; &gt; what<br>
&gt;&gt; &gt; options we have, but be prepared to ship full localedata in worst case<br>
&gt;&gt; &gt; with<br>
&gt;&gt; &gt; glibc 2.27,  this might be the worst case option if no alternative is<br>
&gt;&gt; &gt; found.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thank you<br>
&gt;&gt; &gt; -Khem<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 2/15/18 4:12 AM, Burton, Ross wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Yes, that&#39;s it.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Ross<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 12 February 2018 at 07:32, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a><br>
&gt;&gt; &gt;&gt; &lt;mailto:<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;     On Sat, Feb 3, 2018 at 2:21 AM, Burton, Ross &lt;<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a><br>
&gt;&gt; &gt;&gt;     &lt;mailto:<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>&gt;<wbr>&gt; wrote:<br>
&gt;&gt; &gt;&gt;     &gt; Getting there: <a href="https://autobuilder.yocto.io/tgrid" rel="noreferrer" target="_blank">https://autobuilder.yocto.io/<wbr>tgrid</a><br>
&gt;&gt; &gt;&gt; &lt;<a href="https://autobuilder.yocto.io/tgrid" rel="noreferrer" target="_blank">https://autobuilder.yocto.io/<wbr>tgrid</a>&gt;<br>
&gt;&gt; &gt;&gt;     &gt;<br>
&gt;&gt; &gt;&gt;     &gt; Just two actual problems:<br>
&gt;&gt; &gt;&gt;     &gt; - The non-gplv3 build failed as the make fix needs to be<br>
&gt;&gt; &gt;&gt; backported<br>
&gt;&gt; &gt;&gt; to<br>
&gt;&gt; &gt;&gt;     &gt; meta-gplv2<br>
&gt;&gt; &gt;&gt;     &gt; - The eSDK selftests all failed with en_US.UTF-8 problems, the<br>
&gt;&gt; &gt;&gt; new<br>
&gt;&gt; &gt;&gt; glibc<br>
&gt;&gt; &gt;&gt;     &gt; shouldn&#39;t be causing a problem with uninative so this is<br>
&gt;&gt; &gt;&gt; interesting, maybe<br>
&gt;&gt; &gt;&gt;     &gt; the new one is behaving slightly differently.  Should be easy to<br>
&gt;&gt; &gt;&gt; replicate.<br>
&gt;&gt; &gt;&gt;     &gt; The same problem caused selftest to fail.<br>
&gt;&gt; &gt;&gt;     &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;     is the UTF error like this one<br>
&gt;&gt; &gt;&gt;     <a href="https://gist.github.com/25a84d23618824f0e5e6857a960eaca4" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>25a84d23618824f0e5e6857a960eac<wbr>a4</a><br>
&gt;&gt; &gt;&gt;     &lt;<a href="https://gist.github.com/25a84d23618824f0e5e6857a960eaca4" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>25a84d23618824f0e5e6857a960eac<wbr>a4</a>&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;      &gt; Ross<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>