<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 2018-09-05 06:03, Leslie Zhai wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:5678bdfb-c2ec-075c-790b-3da158edcfa2@loongson.cn">Hi
      all,
      <br>
      <br>
      Thanks for Aleksandar Beserminji great job:
      <br>
      <br>
      <a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D50437">https://reviews.llvm.org/D50437</a>
      <br>
      <br>
      It is not easy to reproduce the LLVMBUG-38221[1] by building
      OpenJDK8,  it needs some workaround
      <br>
      <br>
<a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/xiangzhai/jdk8u-dev/master/Workaround-compile-with-llvm.patch">https://raw.githubusercontent.com/xiangzhai/jdk8u-dev/master/Workaround-compile-with-llvm.patch</a>
      <br>
    </blockquote>
    <br>
    Hi Leslie,<br>
    <br>
    Great to see that this combination works as well with just so little
    tweaking!<br>
    <br>
    However, since the mips64 port is not in upstream (in fact, it's
    currently not even an OpenJDK project), I think this patch better
    goes to the mips-port list.<br>
    <br>
    /Magnus<br>
    <br>
    <blockquote type="cite"
      cite="mid:5678bdfb-c2ec-075c-790b-3da158edcfa2@loongson.cn">
      <br>
      LLVM toolchain[2] is just able to compile OpenJDK8 for mips64el
      now:
      <br>
      <br>
      <a class="moz-txt-link-freetext" href="http://hg.loongnix.org/">http://hg.loongnix.org/</a>
      <br>
      <br>
      1. <a class="moz-txt-link-freetext" href="https://bugs.llvm.org/show_bug.cgi?id=38221#c10">https://bugs.llvm.org/show_bug.cgi?id=38221#c10</a>
      <br>
      <br>
      2. $ clang -v
      <br>
      Loongson clang version 8.0.0 (<a class="moz-txt-link-abbreviated" href="mailto:git@github.com:llvm-mirror/clang.git">git@github.com:llvm-mirror/clang.git</a>
      56fc90882612ab774dae937ca8d997c59364f7f8)
      (<a class="moz-txt-link-abbreviated" href="mailto:git@github.com:llvm-mirror/llvm.git">git@github.com:llvm-mirror/llvm.git</a>
      3419b04cf0c0a57577865f0d17fefb205deed048) (based on LLVM 8.0.0svn)
      <br>
      Target: mips64el-redhat-linux
      <br>
      Thread model: posix
      <br>
      InstalledDir: /usr/bin
      <br>
      Found candidate GCC installation:
      /usr/bin/../lib/gcc/mips64el-redhat-linux/4.9.3
      <br>
      Found candidate GCC installation:
      /usr/lib/gcc/mips64el-redhat-linux/4.9.3
      <br>
      Selected GCC installation:
      /usr/bin/../lib/gcc/mips64el-redhat-linux/4.9.3
      <br>
      Candidate multilib: .;
      <br>
      Selected multilib: .;
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>