<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><font size="-1">It has been a good number of years here since
        running Cygwin or Mingw (better) under Windows. Eventually used
        a free copy of VMWare (there are likely other options now) to
        create a Linux VM under Windows. You can then choose most any
        Linux distribution and click back and forth between Windows and
        Linux.</font></p>
    <p><font size="-1">Regards, Neil Nelson<br>
      </font></p>
    <div class="moz-cite-prefix"><font size="-1">On 7/30/19 11:48 AM,
        Reid Kleckner via llvm-dev wrote:<br>
      </font></div>
    <blockquote type="cite"
cite="mid:CACs=tyKp33pOjvsCCyZYQoc8UsOyvW9CDWu0r6wkoidrH_164g@mail.gmail.com"><font
        size="-1">
      </font>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><font size="-1">On Tue, Jul 30, 2019 at 8:30 AM
            Clint Banis via llvm-dev <<a
              href="mailto:llvm-dev@lists.llvm.org"
              moz-do-not-send="true">llvm-dev@lists.llvm.org</a>>
            wrote:</font></div>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex"><font size="-1">
              What I've tried so far:<br>
                  CFLAGS="-Wa,-mbig-obj" make<br>
            </font>
            <font size="-1"><br>
              But still same error.<br>
            </font></blockquote>
          <div><font size="-1"><br>
            </font></div>
          <div><font size="-1">I think this is the correct solution, but
              putting CFLAGS into the environment while running make or
              re-running cmake isn't enough to get flags through to the
              compiler. I'd recommend doing something like `make
              VERBOSE=1 lib/Passes/CMakeFiles/LLVMPasses.dir/PassBuilder.cpp.o`
              to extract the single failing compile command, manually
              add -Wa,-mbig-obj, rerun, and see if the problem goes
              away.</font></div>
          <div><font size="-1"><br>
            </font></div>
          <div><font size="-1">Lastly, assuming that fixes
              PassBuilder.cpp.o, you'll need to enable it globally. We
              already enable it for mingw here:</font></div>
          <div><font size="-1"><a
href="http://llvm-cs.pcc.me.uk/cmake/modules/HandleLLVMOptions.cmake#351"
                moz-do-not-send="true">http://llvm-cs.pcc.me.uk/cmake/modules/HandleLLVMOptions.cmake#351</a> </font></div>
          <div><font size="-1">We can definitely tweak those conditions
              to include Cygwin as the FIXME says, but you can see that
              obviously nobody has built LLVM this way for quite some
              time. Expect to run into more issues. Consider switching
              to mingw or mvsc if possible.</font></div>
        </div>
      </div>
      <font size="-1">
      </font><br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
  </body>
</html>