Skip to content

Conversation

@yasiribmcon
Copy link
Contributor

For clang 20+ (VEC >= 10305), fallback check relied on macro definitions for vector operations, but clang provides regular functions instead. This caused the fallback to redefine them as macros, overriding the actual vector operation logic.

For clang 20+ (_VEC_ >= 10305), fallback check relied on macro
definitions for vector operations, but clang provides regular
functions instead. This caused the fallback to redefine them as
macros, overriding the actual vector operation logic.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Nov 14, 2025
@charris charris merged commit c3e5a20 into numpy:main Nov 14, 2025
78 checks passed
charris pushed a commit to charris/numpy that referenced this pull request Nov 14, 2025
For clang 20+ (_VEC_ >= 10305), fallback check relied on macro
definitions for vector operations, but clang provides regular
functions instead. This caused the fallback to redefine them as
macros, overriding the actual vector operation logic.

Signed-off-by: Yasir Ashfaq <Yasir.Ashfaq1@ibm.com>
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Nov 14, 2025
@charris
Copy link
Member

charris commented Nov 14, 2025

Thanks @yasiribmcon .

charris added a commit that referenced this pull request Nov 14, 2025
BUG: Fix build on s390x with clang (#30214)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants