[LLVMbugs] [Bug 795] NEW: Strange link warnings on Linux
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jun 1 00:14:43 PDT 2006
http://llvm.org/bugs/show_bug.cgi?id=795
Summary: Strange link warnings on Linux
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Target Description Classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rspencer at x10sys.com
This has been happening consistently on Linux for a number of weeks now. I don't
really know what it is all about but I suspect it has to do with inlining. The
symbol is translated by c++filt as:
llvm::TargetLowering::getValueType(llvm::Type const*) const
That function is defined in TargetLowering.h and has a switch statement and an
assert. If this is an inlining problem then why don't we get this message all
over the place?
Anyone got a clue on this?
llvm[2]: Linking Debug executable analyze
/proj/install/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE referenced
in section `.rodata' of /proj/llvm/build/Debug/lib/LLVMX86.o: defined in
discarded section
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' of
/proj/llvm/build/Debug/lib/LLVMX86.o
/proj/install/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' referenced
in section `.rodata' of /proj/llvm/build/Debug/lib/LLVMAlpha.o: defined in
discarded section
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' of
/proj/llvm/build/Debug/lib/LLVMAlpha.o
/proj/install/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' referenced
in section `.rodata' of /proj/llvm/build/Debug/lib/LLVMIA64.o: defined in
discarded section
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' of
/proj/llvm/build/Debug/lib/LLVMIA64.o
/proj/install/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld:
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' referenced
in section `.rodata' of /proj/llvm/build/Debug/lib/LLVMSelectionDAG.o: defined
in discarded section
`.gnu.linkonce.t._ZNK4llvm14TargetLowering12getValueTypeEPKNS_4TypeE' of
/proj/llvm/build/Debug/lib/LLVMSelectionDAG.o
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list