[LLVMbugs] [Bug 3121] New: __cxa_atexit multiply defined on Mac OS X 10.4

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Nov 23 18:09:35 PST 2008


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

           Summary: __cxa_atexit multiply defined on Mac OS X 10.4
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scooter.phd at gmail.com
                CC: llvmbugs at cs.uiuc.edu


a) svn up to current trunk llvm
b) svn up to current trunk llvm-gcc-4.2
c) bootstrap compile llvm with platform gcc (4.0.1, for Tiger)
   [rm -rf <object directory>; configure; make]
d) bootstrap compile llvm-gcc-4.2 with llvm produced in previous step
   [rm -rf <object directory>; configure, make]
e) compile llvm with newly created llvm-gcc

The newly created llvm-gcc's runtime evidently has its own defintion of
__cxa_atexit. The generates a linker warning with no harmful side effects
(earliest you encounter this is when tblgen links.)

However, this does create problems running "make check" because the linker
warning creates many unexpected failures.


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