This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/49818] libsupc++ does not export __cxa_get_globals or related functions


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49818

Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bkoz at gcc dot gnu.org

--- Comment #2 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-10-07 00:49:06 UTC ---

__cxa_get_globals, etc. are exported from the library, so ABI is ok. But I see
your point, and have added forward declarations to bring cxxabi.h to bring the
API up to spec.

In addition, doing a quick scan of the export lists and cxxabi.h/etc. it
appears some new functionality has been added in the API without exporting it
in the ABI. Here are the fixes:

+CXXABI_1.3.6 {
+
+    __cxa_allocate_dependent_exception;
+    __cxa_free_dependent_exception;
+    __cxa_get_exception_ptr;
+    __cxa_call_terminate;

Note that __cxa_*_dependent_exception are not currently described in the EH
parts of the CXXABI. It seems likely that they should be.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]