[LLVMbugs] [Bug 6792] New: fails to build with ICC: multiple def. of HandleSDNode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 6 04:13:16 PDT 2010


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

           Summary: fails to build with ICC: multiple def. of HandleSDNode
           Product: new-bugs
           Version: unspecified
          Platform: PC
               URL: https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1926
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


icc-11.1.069 fails to build LLVM 2.7, with lots of errors about HandleSDNode
being multiply defined:

c++/.libs/libclamavcxx.a(AsmPrinter.o): In function
`llvm::HandleSDNode::HandleSDNode(llvm::SDValue)':
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:(.text+0x8b70): multiple definition
of `llvm::HandleSDNode::HandleSDNode(llvm::SDValue)'
c++/.libs/libclamavcxx.a(MachineFunction.o):llvm/lib/CodeGen/MachineFunction.cpp:(.text+0x3720):
first defined here

See ClamAV build log (which builds LLVM as part of its own build):
https://wwws.clamav.net/bugzilla/attachment.cgi?id=1250

HandleSDNode is declared like this:
  // FIXME: Remove the "noinline" attribute once <rdar://problem/5852746> is
  // fixed.
#ifdef __GNUC__
  explicit __attribute__((__noinline__)) HandleSDNode(SDValue X)
#else
  explicit HandleSDNode(SDValue X)
#endif

I don't know what the rdar:// is about, but is it related to this icc issue?

-- 
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