[LLVMbugs] [Bug 952] NEW: Incorrect linkage set

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 17 13:30:10 PDT 2006


           Summary: Incorrect linkage set
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru

The attached cpp code caused incorrect linkage set for mingw32 target. Also this
issues breaks libstdc++ on mingw32.

In general: there is (generally speaking) no weak linkage on mingw32, just only
linkonce. llvm-gcc currently marks symbols as "weak", not "linkonce".

Linkonce linkage support for mingw32 target has been recently added to LLVM x86

2 generated assembler outputs are also attached: native g++ (good), llvm-g++ (bad).

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