[LLVMbugs] [Bug 245] NEW: Linking weak and strong global variables is dependent on link order
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 17 13:28:54 PST 2004
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=245
Summary: Linking weak and strong global variables is dependent on
link order
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Transformation Utilities
AssignedTo: sabre at nondot.org
ReportedBy: criswell at uiuc.edu
Attached are two LLVM assembly languages files. Both define the same global
variable with the same initialization value, but one has weak linkage and the
other has strong linkage.
llvm-link -o test test1.bc test2.bc
works, but
llvm-link -o test test2.bc test1.bc
does not.
------- 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