-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
pcre2: Update to upstream version 10.42 (reverted) #70447
Conversation
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog This should also fix support for RISC-V architectures, at least in the sljit library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This compiles on RISC-V (scons use_llvm=yes
on a rv64gc virtual machine / emulator).
This PR caused those lines to appear (repeated multiple times) in unit tests logs at the start.
While tests do not fail because of that, this does not seem right... |
Backtrace:
It probably comes from this change:
We likely need to change our |
I reverted the change for now with d0398f6. I'll reopen the PR as a draft until we find how to change |
This reverts commit 62c3e4a. Needs more work, see comments about `_regex_free` errors in godotengine#70447.
This reverts commit 62c3e4a. Needs more work, see comments about `_regex_free` errors in godotengine#70447.
This reverts commit 62c3e4a. Needs more work, see comments about `_regex_free` errors in godotengine#70447.
This reverts commit 62c3e4a. Needs more work, see comments about `_regex_free` errors in godotengine#70447.
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog
This should also fix support for RISC-V architectures, at least in the sljit library.
@aaronfranke Could you test and confirm?
I see that upstream sljit is fairly active still improving riscv support (https://github.com/zherczeg/sljit/commits/master), so it might be that the current snapshot as of pcre2 10.42 doesn't work fully yet. If so we can postpone enabling the lib on RISC-V to a future release (or maybe keep building the regex module, but just disable JIT with
env["builtin_pcre2_with_jit"]
, as we already do for Web).