Skip to content

Fix build with Clang#42

Merged
sneves merged 1 commit intoBLAKE2:masterfrom
shadchin:fix_build_with_clang
May 11, 2023
Merged

Fix build with Clang#42
sneves merged 1 commit intoBLAKE2:masterfrom
shadchin:fix_build_with_clang

Conversation

@shadchin
Copy link
Copy Markdown
Contributor

@shadchin shadchin commented May 5, 2023

Output with error:

In file included from $(SOURCE_ROOT)/python3/src/Modules/_blake2/blake2b_impl.c:30:
$(SOURCE_ROOT)/python3/src/Modules/_blake2/impl/blake2b.c(31,23): error: conflicting types for '_mm_set_epi64x'
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
                      ^
$(TOOL_ROOT)/clang/14.0.6/include/emmintrin.h(3613,1): note: previous definition is here
_mm_set_epi64x(long long __q1, long long __q0)
^
1 error generated.

@sneves
Copy link
Copy Markdown
Member

sneves commented May 6, 2023

What system configuration caused this failure?

@shadchin
Copy link
Copy Markdown
Contributor Author

shadchin commented May 9, 2023

Compile with Clang 14.0.6 and -m32

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.

2 participants