<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I don't have rights to commit, should I ask someone to do it
      with: <a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D29464">https://reviews.llvm.org/D29464</a>,
      <a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D29772">https://reviews.llvm.org/D29772</a>, <a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D29952">https://reviews.llvm.org/D29952</a>?<br>
    </p>
    Also while browsing bugzilla I came into
    <a class="moz-txt-link-freetext" href="https://bugs.llvm.org//show_bug.cgi?id=30685">https://bugs.llvm.org//show_bug.cgi?id=30685</a>.<br>
    I have developed workaround for MinGW
<a class="moz-txt-link-freetext" href="https://github.com/mati865/MINGW-packages/blob/clang-svn/mingw-w64-clang-svn/0107-enable-__float128-for-X86-MinGW.patch">https://github.com/mati865/MINGW-packages/blob/clang-svn/mingw-w64-clang-svn/0107-enable-__float128-for-X86-MinGW.patch</a><br>
    It tricks libstc++ to think Clang supports _float128 but<span
      style="color: #ce9178;"> <font color="#000000">__FLOAT128__ isn't
        defined so you can compile code with </font></span><type_traits>
    included<span style="color: #ce9178;"><font color="#000000"> but not
        with _float128 actually being used. I think it's better that way
        since using _float128 with mingw will seg fault Clang.<br>
        <br>
        <br>
      </font></span>
    <div class="moz-cite-prefix">W dniu 01.02.2017 o 23:25, Reid
      Kleckner pisze:<br>
    </div>
    <blockquote
cite="mid:CACs=ty+41p+HhNjsdeosbz79QVXqutO_dLTsFCzyb6dNCR_+5A@mail.gmail.com"
      type="cite">
      <div dir="ltr">I would volunteer to try to get these patches in,
        but I don't have the bandwidth for it. I was hoping someone else
        would speak up, but I guess not. =/</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Jan 21, 2017 at 5:50 AM,
          Mateusz via cfe-dev <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hello,<br>
              <div class="gmail_quote">
                <div dir="ltr">
                  <div>
                    <div>
                      <div>
                        <div><br>
                        </div>
                        I'm involved with maintenance of Clang and
                        related LLVM packages for MSYS2.<br>
                      </div>
                      <div>It was based on Martell's patches (with his
                        permission for MSYS2) from his git repository
                        and MSYS2 own fixes so number of patches might
                        be overwhelming: <a moz-do-not-send="true"
href="https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-clang"
                          target="_blank">https://github.com/Alexpux/MIN<wbr>GW-packages/tree/master/mingw-<wbr>w64-clang</a><br>
                      </div>
                      <div>Maybe some of these patches could make it's
                        way to the upstream.<br>
                        <br>
                      </div>
                      <div>Tools state at version 3.9.1 :<br>
                      </div>
                      <div>Clang:        mostly works (there are issues
                        found)<br>
                      </div>
                      <div>LLMV:        mostly works (not tested well
                        enough)<br>
                      </div>
                      <div>LLD:           creates broken executable<br>
                      </div>
                      <div>LLDB:         runs but not further tested
                        since lldb-server is not build-able for
                        mingw-w64<br>
                      </div>
                      <div>libc++:        need further testing<br>
                        libc++abi:    need further testing<br>
                      </div>
                      <div>compiler-rt:  need further testing<br>
                        <br>
                      </div>
                      <div>Open clang issues (at MSYS2):<br>
                        <a moz-do-not-send="true"
                          href="https://github.com/Alexpux/MINGW-packages/issues/1677"
                          target="_blank">https://github.com/Alexpux/MIN<wbr>GW-packages/issues/1677</a><br>
                        <a moz-do-not-send="true"
                          href="https://github.com/Alexpux/MINGW-packages/issues/1678"
                          target="_blank">https://github.com/Alexpux/MIN<wbr>GW-packages/issues/1678</a>
                        (not that much Clang issue but rather mingw-64
                        with GCC)<br>
                        <a moz-do-not-send="true"
                          href="https://github.com/Alexpux/MINGW-packages/issues/1834"
                          target="_blank">https://github.com/Alexpux/MIN<wbr>GW-packages/issues/1834</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Any help will be welcome.<br>
                      </div>
                      <div><br>
                        <br>
                      </div>
                      <div>make check seems to hang during LLVM tests
                        but here is make check-clang:<br>
                        Failing Tests (18):<br>
                            Clang :: Driver/mingw.cpp<br>
                            Clang :: Modules/dependency-dump.m<br>
                            Clang :: Modules/dependency-gen.modulem<wbr>ap<br>
                            Clang :: PCH/chain-categories.m<br>
                            Clang :: PCH/chain-categories2.m<br>
                            Clang :: PCH/chain-class-extension.m<br>
                            Clang :: PCH/chain-conversion-lookup.cp<wbr>p<br>
                            Clang :: PCH/chain-cxx.cpp<br>
                            Clang :: PCH/chain-default-argument-ins<wbr>tantiation.cpp<br>
                            Clang :: PCH/chain-empty-initial-namesp<wbr>ace.cpp<br>
                            Clang :: PCH/chain-friend-instantiation<wbr>.cpp<br>
                            Clang :: PCH/chain-implicit-definition.<wbr>cpp<br>
                            Clang :: PCH/chain-late-anonymous-names<wbr>pace.cpp<br>
                            Clang :: PCH/chain-openmp-threadprivate<wbr>.cpp<br>
                            Clang :: PCH/chain-pending-instantiatio<wbr>ns.cpp<br>
                            Clang :: PCH/chain-staticvar-instantiat<wbr>ion.cpp<br>
                            Clang :: PCH/cxx-chain-function-templat<wbr>e.cpp<br>
                            Clang :: PCH/replaced-decl.m<br>
                        <br>
                          Expected Passes    : 9349<br>
                          Expected Failures  : 16<br>
                          Unsupported Tests  : 227<br>
                          Unexpected Failures: 18<br>
                        <br>
                      </div>
                      Full output is available here: <a
                        moz-do-not-send="true"
                        href="https://gist.github.com/mati865/b4a2c96f82b22ac41eca32714092db1d"
                        target="_blank">https://gist.github.com/mati86<wbr>5/b4a2c96f82b22ac41eca32714092<wbr>db1d</a><br>
                      <br>
                    </div>
                    <div>Is there any interest from You in providing at
                      lest minimal support to it?<br>
                    </div>
                    <div><br>
                    </div>
                    Cheers,<br>
                  </div>
                  Mateusz Mikuła<br>
                </div>
              </div>
              <br>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            cfe-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev"
              rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/cfe-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>