Skip to content

Conversation

shubhamhii
Copy link

Closes #160

@arigo
Copy link
Contributor

arigo commented Apr 4, 2025

This fix is likely broken: unless I'm mistaken, it compiles with the warning "no definition for read_barrier(), missing synchronization for multi-thread initialization in embedded mode" and then CFFI can (very rarely) break in case of multithreaded usage. Can you check if __sync_synchronize() is really not defined in your compiler nowadays?

@mattip
Copy link
Contributor

mattip commented Sep 10, 2025

We will need some help to be convinced this PR solves the problem correctly, so more words will help.

Can you check if __sync_synchronize() is really not defined in your compiler nowadays?

Did you check that?

@mattip
Copy link
Contributor

mattip commented Sep 10, 2025

I think the suggestion in issue #197 to check for gcc and use the appropriate __sync_synchronize would be a better localized fix and less magical. Or to go big and relate to #201

@shubhamhii
Copy link
Author

Hi,

This fix isn't required anymore. The issue is with aix environment only.
I have added a comment pertaining to it.
#197

Regards,
Shubham

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.

pip install fails on AIX
3 participants