[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 14469] New: undefined reference to '__mulodi4'
From:       bugzilla-daemon () llvm ! org
Date:       2012-11-30 20:47:49
Message-ID: bug-14469-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

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@nondot.org
        ReportedBy: malex984@gmail.com
                CC: llvmbugs@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.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic