<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <p>I had sent V2 patch to fix this issue.</p>
    <p><br>
    </p>
    <p>//Yi<br>
    </p>
    <br>
    <div class="moz-cite-prefix">在 2017年12月05日 19:44, Burton, Ross 写道:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJTo0LY4jzykDKeZtD7Z7qqr1JQz36K97E6dvzr0ZXBGeDEbjg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">On 28 November 2017 at 06:13, Yi Zhao <span
          dir="ltr">&lt;<a href="mailto:yi.zhao@windriver.com"
            target="_blank" moz-do-not-send="true">yi.zhao@windriver.com</a>&gt;</span>
        wrote:<br>
        <div class="gmail_extra">
          <div class="gmail_quote">
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">ICU
              library libicudata is created with a wrong endianness if
              the host<br>
              and target have different endianness. (e.g. build ICU for
              qemuppc on<br>
              x86-64 host)<br>
              See upstream bug report: <a
                href="http://bugs.icu-project.org/trac/ticket/11758"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://bugs.icu-project.org/<wbr>trac/ticket/11758</a><br>
              <br>
              The discussion in oe-core mailing list:<br>
              <a
href="https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg65155.html"
                rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.mail-archive.com/<wbr>openembedded-core@lists.<wbr>openembedded.org/msg65155.html</a><br>
              <br>
              The root cause is the native pkgdata can not generate
              correct icu data<br>
              for different endianness. By default, this data is built
              into the shared<br>
              library libicudata that would cause it corrupt. But ICU
              also provides<br>
              additional options for loading the data. With option<br>
              --with-data-packaging=archive, ICU outputs a single
              icudt.dat file which<br>
              can be loaded by the library.<br>
              See document: <a
                href="http://userguide.icu-project.org/icudata"
                rel="noreferrer" target="_blank" moz-do-not-send="true">http://userguide.icu-project.<wbr>org/icudata</a><br>
              <br>
              So for big endian system, we can use the separated data
              file which<br>
              re-generates by icupkg and set the correct ICU_DATA
              environment variable<br>
              to make sure the library can load the data without
              problems.<br>
            </blockquote>
            <div><br>
            </div>
            <div>Fails on various builds on the AB:</div>
            <div><br>
              icupkg: unable to open input file
"TOPDIR/tmp/work/ppc7400-poky-linux/icu/60.1-r0/icu/source/data/in/icudt59l.dat" <br>
            </div>
            <div><br>
            </div>
            <div><a
href="http://errors.yoctoproject.org/Errors/Latest/?filter=%20icu:%20do_install&amp;type=failure"
                moz-do-not-send="true">http://errors.yoctoproject.org/Errors/Latest/?filter=%20icu:%20do_install&amp;type=failure</a><br>
            </div>
            <div><br>
            </div>
            <div>Ross</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>