[LLVMbugs] [Bug 6440] New: LTO causes duplicate symbols during linking

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 27 14:37:39 PST 2010


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

           Summary: LTO causes duplicate symbols during linking
           Product: tools
           Version: 1.0
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P5
         Component: lto
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: g.teunis at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I've read a lot of these reports online, causes users to disable LTO all
together.
Disabling LTO directly fixes the problem.

Using XCode 3.2 (release version) on OSX 10.6

Steps to reproduce:
1. Enable Clang LLVM 1.0 in Xcode for the project
2. Enable Link-time optimization
3. Build project


Results:
ld: duplicate symbol _OBJC_IVAR_$_NZBqueue.nzbQueue in /tmp/lto.o and
/Users/gerteunis/Documents/NZBVortex/build/NZBVortex.build/Release/NZBVortex.build/Objects-normal/x86_64/NZBqueue.o

Expected:
Correct build results (like non-LTO does)

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