Title: blake2module.c needs to be compiled with libhacl SIMD flags · Issue #130213 · python/cpython · GitHub
Open Graph Title: blake2module.c needs to be compiled with libhacl SIMD flags · Issue #130213 · python/cpython
X Title: blake2module.c needs to be compiled with libhacl SIMD flags · Issue #130213 · python/cpython
Description: Bug report Bug description: blake2module.c may include _hacl/Hacl_Hash_Blake2b_Simd256.h and/or _hacl/Hacl_Hash_Blake2s_Simd128.h, and thus needs to compile with LIBHACL_SIMD128_FLAGS and/or LIBHACL_SIMD256_FLAGS, or you get an error lik...
Open Graph Description: Bug report Bug description: blake2module.c may include _hacl/Hacl_Hash_Blake2b_Simd256.h and/or _hacl/Hacl_Hash_Blake2s_Simd128.h, and thus needs to compile with LIBHACL_SIMD128_FLAGS and/or LIBHAC...
X Description: Bug report Bug description: blake2module.c may include _hacl/Hacl_Hash_Blake2b_Simd256.h and/or _hacl/Hacl_Hash_Blake2s_Simd128.h, and thus needs to compile with LIBHACL_SIMD128_FLAGS and/or LIBHAC...
Opengraph URL: https://github.com/python/cpython/issues/130213
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"blake2module.c needs to be compiled with libhacl SIMD flags","articleBody":"# Bug report\n\n### Bug description:\n\n`blake2module.c` may include `_hacl/Hacl_Hash_Blake2b_Simd256.h` and/or `_hacl/Hacl_Hash_Blake2s_Simd128.h`, and thus needs to compile with `LIBHACL_SIMD128_FLAGS` and/or `LIBHACL_SIMD256_FLAGS`, or you get an error like this if the compiler doesn't enable those SIMD features by default:\n```\nIn file included from ./Modules/blake2module.c:139:\nIn file included from ./Modules/_hacl/Hacl_Hash_Blake2b_Simd256.h:42:\nIn file included from ./Modules/_hacl/libintvector.h:28:\n/Library/Developer/CommandLineTools/usr/bin/../lib/clang/7.0.2/include/smmintrin.h:28:2: error: \"SSE4.1 instruction set not enabled\"\n```\nI would create a PR but unfortunately I can't figure out where this needs to be added.\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-130332\n* gh-130447\n* gh-130483\n* gh-130960\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/jmroot","@type":"Person","name":"jmroot"},"datePublished":"2025-02-17T02:11:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/130213/cpython/issues/130213"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0831701d-b59b-31fa-5903-07bdb518de65 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9426:96FA2:E7A22C:13E65F9:6969F2D1 |
| html-safe-nonce | ca99cfc913b01107e4d6130aa659af54edc1a4f067a0adbe433598641424d303 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDI2Ojk2RkEyOkU3QTIyQzoxM0U2NUY5OjY5NjlGMkQxIiwidmlzaXRvcl9pZCI6IjYxNjU5MzQ3NTM2MTQyNjI5OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3e23e7f1f56bc7bb860f693bde667e3e6a9004988d1b6cd4a3c30d8d9a50ab00 |
| hovercard-subject-tag | issue:2856536027 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/130213/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b8ae01db09e3d1f1d0197b564e8cf1b461a79ed90f075c44c5e4b46dca46559e/python/cpython/issues/130213 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b8ae01db09e3d1f1d0197b564e8cf1b461a79ed90f075c44c5e4b46dca46559e/python/cpython/issues/130213 |
| og:image:alt | Bug report Bug description: blake2module.c may include _hacl/Hacl_Hash_Blake2b_Simd256.h and/or _hacl/Hacl_Hash_Blake2s_Simd128.h, and thus needs to compile with LIBHACL_SIMD128_FLAGS and/or LIBHAC... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jmroot |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width