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

Do not use range based UTF-8 validation in truffleruby #9769

Merged
merged 1 commit into from
Apr 18, 2022
Merged

Do not use range based UTF-8 validation in truffleruby #9769

merged 1 commit into from
Apr 18, 2022

Conversation

ntkme
Copy link
Contributor

@ntkme ntkme commented Apr 8, 2022

This PR fixes the missing LLVM builtin: llvm.x86.ssse3.pshuf.b.128 in oracle/truffleruby#2640 by forcing it to compile with old utf8_naive when the macro TRUFFLERUBY is defined.

@haberman haberman added the ruby label Apr 8, 2022
@ntkme
Copy link
Contributor Author

ntkme commented Apr 12, 2022

Upstream has fixed the bug, but it won't be able to make the fix into the next release of truffleruby later this month. So it will be another 3~4 months for the upstream fix to land into a stable release.

@eregon
Copy link

eregon commented Apr 12, 2022

Both fixes are compatible (they both disable the SSE4_1 path on TruffleRuby), so I think it makes sense to merge this.

@perezd perezd merged commit d2fd441 into protocolbuffers:main Apr 18, 2022
@ntkme ntkme deleted the utf8-truffleruby branch April 18, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform related Any issue releated to specific platform or OS ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants