https://llvm.org/bugs/show_bug.cgi?id=25781
Bug ID: 25781 Summary: lld doesn't build with clang-cl: __asm problems in xatomic.h Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: h...@chromium.org CC: llvm-bugs@lists.llvm.org, r...@google.com Classification: Unclassified FAILED: D:\src\llvm_package_255000\build32_stage0\bin\clang-cl.exe /nologo /DW IN32 /D_WINDOWS -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291 -wd434 5 -wd4351 -wd4355 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd480 0 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd431 0 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd432 4 -w14062 -we4238 /W4 /Zc:inline /Zc:sizedDealloc- /MT /O2 /Ob2 -Itools\lld\COFF -ID:\src\llvm_package_255000\llvm\tools\lld\COFF -ID:\src\llvm_package_255000\l lvm\tools\lld\include -Itools\lld\include -Iinclude -ID:\src\llvm_package_255000 \llvm\include -UNDEBUG -wd4530 -wd4062 /EHs-c- /GR- /showIncludes -DGTEST_HA S_RTTI=0 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO _DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_DEBUG_POINTER_IMPL="" -D_HAS_EXCEPTIONS= 0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS /Fotools\lld\COFF\CMakeFiles\lldCOF F.dir\ICF.cpp.obj /Fdtools\lld\COFF\CMakeFiles\lldCOFF.dir\ -c D:\src\llvm_packa ge_255000\llvm\tools\lld\COFF\ICF.cpp In file included from D:\src\llvm_package_255000\llvm\tools\lld\COFF\ICF.cpp:46: In file included from D:\src\llvm_package_255000\llvm\tools\lld\COFF/Chunks.h:13 : In file included from D:\src\llvm_package_255000\llvm\tools\lld\COFF/Config.h:14 : In file included from D:\src\llvm_package_255000\llvm\include\llvm/Object/COFF.h :18: In file included from D:\src\llvm_package_255000\llvm\include\llvm/Object/Object File.h:18: In file included from D:\src\llvm_package_255000\llvm\include\llvm/Object/Symbol icFile.h:17: In file included from D:\src\llvm_package_255000\llvm\include\llvm/Object/Binary .h:19: In file included from D:\src\llvm_package_255000\llvm\include\llvm/Support/FileS ystem.h:30: In file included from D:\src\llvm_package_255000\llvm\include\llvm/ADT/Intrusive RefCntPtr.h:24: In file included from C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INC LUDE\atomic:19: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\xatomic.h(98,2) : error: invalid symbol redefinition __asm ^ <inline asm>(5,2) : note: instantiated into assembly here L__MSASMLABEL_.0__again: ^ -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs