[llvm-bugs] [Bug 25305] New: Clang-cl generates a call to an undefined symbol __udivti3

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 23 16:35:09 PDT 2015


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: unassignedclangbugs at nondot.org
          Reporter: drivehappy at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151023/9aad8ee4/attachment.html>


More information about the llvm-bugs mailing list