[cfe-dev] Missing /usr/lib/cxa_finalize.o on Solaris 11.1

Игорь Пашев pashev.igor at gmail.com
Wed Jun 12 12:57:48 PDT 2013


2013/6/12 "C. Bergström" <cbergstrom at pathscale.com>:
>> And  /usr/lib/cxa_finalize.o looks like a random name :-) [1]
>> cxa_finalize.c and cxa_atexit.c are not compiled into libcxxrt.
>
> Send a patch or a pull request and I'll get it merged after review - Thanks
> for catching this

It looks quite trivial, but I want to test it on Solaris:

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0b44852..ba3b906 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,6 +8,8 @@ set(CXXRT_SOURCES
     memory.cc
     auxhelper.cc
     libelftc_dem_gnu3.c
+    cxa_atexit.c
+    cxa_finalize.c
    )




More information about the cfe-dev mailing list