Comment #2 on issue 328 by [email protected]: Error linking when building a program that calls calloc with clang-cl's address-sanitizer and -MTd
http://code.google.com/p/address-sanitizer/issues/detail?id=328

Note that I'm also getting similar errors when using -MT and building one of the Firefox test executables, but so far I have not been able to create a small test case that reproduces it...

clang_rt.asan_cxx-i386.lib(asan_new_delete.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in libcmt.lib(delete.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: __calloc_impl already defined in libcmt.lib(calloc_impl.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: __expand already defined in libcmt.lib(expand.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: __msize already defined in libcmt.lib(msize.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: __recalloc already defined in libcmt.lib(recalloc.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: _calloc already defined in libcmt.lib(calloc.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: _free already defined in libcmt.lib(free.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: _malloc already defined in libcmt.lib(malloc.obj) clang_rt.asan-i386.lib(asan_malloc_win.obj) : error LNK2005: _realloc already defined in libcmt.lib(realloc.obj)

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to