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

David Chisnall David.Chisnall at cl.cam.ac.uk
Wed Jun 12 15:15:36 PDT 2013


On 12 Jun 2013, at 19:41, Игорь Пашев <pashev.igor at gmail.com> wrote:

> cxa_finalize.c and cxa_atexit.c are not compiled into libcxxrt.

That's correct.  They need to be built differently on Solaris to other operating systems.  See the libcxxrt install guide: the compilation options depend entirely on how you want to install it.  On Solaris, you need to link cxa_finalize with every library, because it refers to the DSO handle for each library to run cleanups.

David





More information about the cfe-dev mailing list