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

use fvisibility=hidden on POSIX platforms #105

Merged
merged 2 commits into from
Oct 29, 2023
Merged

use fvisibility=hidden on POSIX platforms #105

merged 2 commits into from
Oct 29, 2023

Conversation

mmomtchev
Copy link
Owner

On POSIX pymport is loaded with RTLD_GLOBAL to export the Python interpreter to the eventual Python binary modules.

This can lead to symbol conflicts with other binary modules.

Fixes: #104

@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a5c8a9f) 94.72% compared to head (217393e) 94.72%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   94.72%   94.72%           
=======================================
  Files          14       14           
  Lines        1383     1383           
=======================================
  Hits         1310     1310           
  Misses         73       73           
Files Coverage Δ
src/main.cc 94.44% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmomtchev mmomtchev merged commit 978e087 into main Oct 29, 2023
124 checks passed
@mmomtchev mmomtchev deleted the pymp-init branch October 29, 2023 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

After loading pymport, further loading of other binary modules does not work
1 participant