[LLVMbugs] [Bug 18987] New: [ASan/Win] Warning D9025 : overriding '/MD' with '/MT'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 27 04:29:13 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18987

            Bug ID: 18987
           Summary: [ASan/Win] Warning D9025 : overriding '/MD' with '/MT'
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: timurrrr at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140227/22b86723/attachment.html>


More information about the llvm-bugs mailing list