[llvm-bugs] [Bug 24642] New: clang on Solaris needs its own __cxa_atexit and __cxa_finalize functions
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 31 12:35:46 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24642
Bug ID: 24642
Summary: clang on Solaris needs its own __cxa_atexit and
__cxa_finalize functions
Product: clang
Version: 3.6
Hardware: Sun
OS: Solaris
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: stefan.teleman at oracle.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
This is a placeholder bug for a patch I will be submitting here very
shortly.
When building clang/llvm on Solaris with GCC >= 4.8.2, the Solaris Standard
C Library does not provide the __cxa_atexit and __cxa_finalize functions,
which are part of the Itanium C++ ABI.
I have a patch for this defect, and I will provide it here very shortly.
The patch consists of source code for __cxa_atexit and __cxa_finalize,
and a Makefile.
I don't know if this is appropriate for inclusion in the clang/llvm source
code tree, but I thought it would be useful to record it here for reference.
This bug states that this patch is for clang 3.6, but the patch is
valid for any version of clang >= 3.6.0, including the upcoming 3.7.0.
We have a number of clang and llvm patches for Solaris, and we have
every intention of contributing them to the project. This is just one
of several bugs with follow-up patches that I will be filing.
ETA for patches: I will start submitting patches - as attachments - this
week, within the next couple of days.
--
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/20150831/08a6db95/attachment.html>
More information about the llvm-bugs
mailing list