<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [ASan/Win] Warning D9025 : overriding '/MD' with '/MT'"
   href="http://llvm.org/bugs/show_bug.cgi?id=18987">18987</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ASan/Win] Warning D9025 : overriding '/MD' with '/MT'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>compiler-rt
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>timurrrr@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>compiler-rt is supposed to be linked with the users' binaries rather than Clang
itself, so it doesn't necessarily need to be linked with the same MSVC runtime
library.

Currently, clang mostly supports building /MT-linked binaries, thus the ASan
runtime should be built with /MT as well.
The command line for building ASan RTL source files looks like this though:
  ...\cl.exe ... /W3   /MD /O2 /Ob2 ... /MT ...  -c
..\projects\compiler-rt\lib\asan\asan_win.cc
that results in:
  Warning D9025 : overriding '/MD' with '/MT'</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>