Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed C++ RTTI for Core base classes #28555

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

ilya-lavrenov
Copy link
Contributor

@ilya-lavrenov ilya-lavrenov commented Jan 20, 2025

Details:

Android support:

{ABD03686-78FD-4F33-A2E8-C3BE1C030D5C}

in header files threated as an inline definition, which typically results in a "weak" symbol
"weak" symbols are not exported from dll/so libs.

To make these symbols "strong", we moved the definitions to ".cpp" files.

@ilya-lavrenov ilya-lavrenov added this to the 2025.1 milestone Jan 20, 2025
@ilya-lavrenov ilya-lavrenov requested a review from a team as a code owner January 20, 2025 11:19
@ilya-lavrenov ilya-lavrenov requested review from itikhono and removed request for a team January 20, 2025 11:19
@github-actions github-actions bot added category: Core OpenVINO Core (aka ngraph) category: transformations OpenVINO Runtime library - Transformations category: CPP API OpenVINO CPP API bindings labels Jan 20, 2025
@ilya-lavrenov ilya-lavrenov requested a review from a team as a code owner January 20, 2025 11:34
@ilya-lavrenov ilya-lavrenov changed the title Fixed C++ RTTI for PassBase Fixed C++ RTTI for Core base classes Jan 20, 2025
@ilya-lavrenov
Copy link
Contributor Author

@itikhono @t-jankowski added more classes to a list of fixed one. Please, review once again

@ilya-lavrenov ilya-lavrenov requested review from a team as code owners January 20, 2025 11:54
@github-actions github-actions bot added the category: LP transformations OpenVINO Low Precision transformations label Jan 20, 2025
@ilya-lavrenov ilya-lavrenov force-pushed the basepass-rtti branch 2 times, most recently from 08f5636 to 50b7bcd Compare January 20, 2025 20:22
@ilya-lavrenov ilya-lavrenov added this pull request to the merge queue Jan 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 21, 2025
@ilya-lavrenov ilya-lavrenov added this pull request to the merge queue Jan 22, 2025
Merged via the queue into openvinotoolkit:master with commit a6ab17e Jan 22, 2025
184 checks passed
@ilya-lavrenov ilya-lavrenov deleted the basepass-rtti branch January 22, 2025 08:56
ilya-lavrenov added a commit to ilya-lavrenov/openvino that referenced this pull request Jan 22, 2025
Android support:

<img width="200" alt="{ABD03686-78FD-4F33-A2E8-C3BE1C030D5C}"
src="https://github.com/user-attachments/assets/55bb0600-4f14-448c-b4be-e1e97e354859"
/>

in header files threated as an inline definition, which typically
results in a "weak" symbol
"weak"  symbols are not exported from dll/so libs.

To make these symbols "strong", we moved the definitions to ".cpp"
files.
ilya-lavrenov added a commit that referenced this pull request Jan 23, 2025
ilya-lavrenov added a commit to ilya-lavrenov/openvino that referenced this pull request Jan 23, 2025
Android support:

<img width="200" alt="{ABD03686-78FD-4F33-A2E8-C3BE1C030D5C}"
src="https://github.com/user-attachments/assets/55bb0600-4f14-448c-b4be-e1e97e354859"
/>

in header files threated as an inline definition, which typically
results in a "weak" symbol
"weak"  symbols are not exported from dll/so libs.

To make these symbols "strong", we moved the definitions to ".cpp"
files.
ilya-lavrenov added a commit to ilya-lavrenov/openvino that referenced this pull request Jan 23, 2025
github-merge-queue bot pushed a commit that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings category: LP transformations OpenVINO Low Precision transformations category: transformations OpenVINO Runtime library - Transformations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants