[llvm-bugs] [Bug 33272] New: __cxa_thread_atexit_impl is undefined on Mac OS X [PATCH INCLUDED]

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 1 13:45:48 PDT 2017


            Bug ID: 33272
           Summary: __cxa_thread_atexit_impl is undefined on Mac OS X
                    [PATCH INCLUDED]
           Product: libc++abi
           Version: unspecified
          Hardware: PC
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: thomasanderson at google.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

Created attachment 18558
  --> https://bugs.llvm.org/attachment.cgi?id=18558&action=edit

__cxa_thread_atexit_impl is declared as a weak symbol, but it has no
definition.  This means linking will fail on systems where libc doesn't provide
it (like mac).  Please see the attached patch for a fix.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170601/42c5ec5f/attachment.html>

More information about the llvm-bugs mailing list