[LLVMbugs] [Bug 148] NEW: Function is declared defined and undefined after link
bugzilla-daemon at zion.cs.uiuc.edu
bugzilla-daemon at zion.cs.uiuc.edu
Fri Nov 21 12:11:56 PST 2003
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=148
Summary: Function is declared defined and undefined after link
Product: tools
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: gccld
AssignedTo: criswell at uiuc.edu
ReportedBy: criswell at uiuc.edu
When compiling and linking the lshaped program (part of ATR), the symbol
_ZNK18OsiSolverInterface20getFractionalIndicesEd is defined twice in the
resulting bytecode file: once as an undefined symbol and once as a defined local
function (according to llvm-nm).
This causes the JIT problems; the first time it looks for the function, it
thinks it is external and attmepts to find it in the JIT's address space. Later
on, the JIT finds the function definition and uses it properly.
I'm guessing this behavior is from the libraries used by gccld.
------- 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