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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to