Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simdutf 4 fails on node.js #337

Closed
anonrig opened this issue Oct 21, 2023 · 2 comments · Fixed by #338
Closed

simdutf 4 fails on node.js #337

anonrig opened this issue Oct 21, 2023 · 2 comments · Fixed by #338

Comments

@anonrig
Copy link
Member

anonrig commented Oct 21, 2023

Full CI: https://ci.nodejs.org/job/node-test-commit-linux-containered/nodes=ubuntu1804_sharedlibs_icu_x64/40007/consoleText

../deps/simdutf/simdutf.cpp:30250:5: error: '_mm_storeu_si64' was not declared in this scope
     _mm_storeu_si64(latin1_output, shuffled1);
     ^~~~~~~~~~~~~~~
../deps/simdutf/simdutf.cpp:30250:5: note: suggested alternative: '_mm_store_epi64'
     _mm_storeu_si64(latin1_output, shuffled1);
     ^~~~~~~~~~~~~~~
     _mm_store_epi64
../deps/simdutf/simdutf.cpp: In function 'std::pair<simdutf::result, char*> simdutf::westmere::{anonymous}::sse_convert_utf32_to_latin1_with_errors(const char32_t*, size_t, char*)':
../deps/simdutf/simdutf.cpp:30303:5: error: '_mm_storeu_si64' was not declared in this scope
     _mm_storeu_si64(latin1_output, shuffled1);
     ^~~~~~~~~~~~~~~
../deps/simdutf/simdutf.cpp:30303:5: note: suggested alternative: '_mm_store_epi64'
     _mm_storeu_si64(latin1_output, shuffled1);
     ^~~~~~~~~~~~~~~
     _mm_store_epi64

cc @lemire

@lemire
Copy link
Member

lemire commented Oct 21, 2023

Thanks. We shall fix this build error with a patch release. It is easy.

@lemire
Copy link
Member

lemire commented Oct 21, 2023

It seems that Node is using GCC 8.

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 a pull request may close this issue.

2 participants