https://llvm.org/bugs/show_bug.cgi?id=25305
Bug ID: 25305 Summary: Clang-cl generates a call to an undefined symbol __udivti3 Product: clang Version: trunk Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: LLVM Codegen Assignee: unassignedclangb...@nondot.org Reporter: driveha...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15150 --> https://llvm.org/bugs/attachment.cgi?id=15150&action=edit Build with: clang-cl main.c While attempting to build a (very) old version of libtomcrypt with Clang-cl (64-bit r250698), it appears a call to an undefined function is being generated: main-ff9827.obj : error LNK2019: unresolved external symbol __udivti3 referenced in function main I've attached a minimal reproduce case. This appears to be due to the "__attribute__((mode(TI)))" on the typedef. -- 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