[LLVMbugs] [Bug 2146] New: Linker does not merge aliases and prototypes correctly

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Mar 12 17:27:32 PDT 2008


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

           Summary: Linker does not merge aliases and prototypes correctly
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Linker
        AssignedTo: asl at math.spbu.ru
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


If a symbol is declared as an alias in one linkage unit and external in another
then the linking fails (because the linking first includes the proto, then
tries to link the alias and use force renaming, which complains that the
conflicting symbol is external). I suspect this bug exists for global variables
as well?


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