[LLVMbugs] [Bug 14469] New: undefined reference to '__mulodi4'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Nov 30 12:47:49 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=14469

             Bug #: 14469
           Summary: undefined reference to '__mulodi4'
           Product: clang
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: malex984 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9628
  --> http://llvm.org/bugs/attachment.cgi?id=9628
test

Multiplication of two "long long int" translates into the code that requires to
call missing function '__mulodi4' if compiled with -ftrapv -m32 (on 64 bit
linux)

Please compile the attached code with "clang -ftrapv -m32" (at least on a 64
bit machine).

Removing either "-ftrapv" or "-m32" will produce fine executable.

ps:
clang version 3.1 (branches/release_31)
Target: x86_64-unknown-linux-gnu

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list