Allow AIX to use openxlC as the C compiler #23476
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The recommended compiler for AIX is now the openxlC compiler (ibm-clang).
This PR updates AIX hints so that it can be used. Additionally, it fixes an issue with Perl's implementation of Clang TSA so that the perl_tsa_mutex_* functions are accessible to ext/re. This was required in order for AIX to build cleanly.
We also remove NEED_PTHREAD_INIT, since pthread_init doesn't exist on AIX (nor anywhere from what I can tell). https://www.ibm.com/docs/en/aix/7.3.0?topic=options-supported-interfaces
I'm also updating the AIX documentation to recommend ibm-clang_r over cc/xlc.
Addresses #23333