[jira] [Created] (XERCESC-2261) Android NDK compiler compatibility for RTTI of DOM classes
"Adam Mitz (Jira)" <[email protected]> Mon, 28 Jul 2025 19:43:00 +0000 (UTC)
| Newsgroups | gmane.text.xml.xerces-c.devel |
|---|---|
| Message-ID | <[email protected]> |
Adam Mitz created XERCESC-2261:
----------------------------------
Summary: Android NDK compiler compatibility for RTTI of DOM cl=
asses
Key: XERCESC-2261
URL: https://issues.apache.org/jira/browse/XERCESC-2261
Project: Xerces-C++
Issue Type: Bug
Components: DOM
Affects Versions: 3.2.5
Reporter: Adam Mitz
Android's NDK compiler (a specific version of Clang) doesn't support RTTI o=
f classes across dynamically loaded shared libraries unless the classes hav=
e "key functions."=C2=A0 See=C2=A0
=C2=A0
[https://developer.android.com/ndk/guides/common-problems#rttiexceptions_no=
t_working_across_library_boundaries] and [https://itanium-cxx-abi.github.io=
/cxx-abi/abi.html#vague-vtable]=C2=A0
=C2=A0
This patch was developed for the xerces-3.2 branch since that's what we're =
using, but we can port to other branches as needed.
=C2=A0
https://github.com/OpenDDS/xerces-c/commit/bcc2c4cb424a1537eb44237c8cb0aa0a=
d0233a68
--
This message was sent by Atlassian Jira
(v8.20.10#820010)