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

Backport unaligned matching of strings (OTP < 26) #1495

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

bettio
Copy link
Collaborator

@bettio bettio commented Jan 26, 2025

Just a backport of #1492

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio force-pushed the backport-unaligned-strings branch from 6bd3c5a to 6832d2b Compare January 26, 2025 22:50
This commit backports dffbd53 into release-0.6
the following fix that has been already applied to main:

Fix unaligned matching of strings for code compiled with OTP < 26

OTP 25 compiler generates bs_match_string, and AtomVM wouldn't support
some unaligned matching that worked when compiled by OTP 26+.

Also bump s390x and arm64 CI to use bookworm as cc from bullseye crashes on our
code.

Signed-off-by: Davide Bettio <[email protected]>
@bettio bettio force-pushed the backport-unaligned-strings branch from 6832d2b to b3f2e3a Compare February 11, 2025 20:49
@bettio bettio changed the title Backport fix unaligned matching of strings for code compiled with OTP… Backport unaligned matching of strings (OTP < 26) Feb 11, 2025
@bettio bettio merged commit f30ff07 into atomvm:release-0.6 Feb 11, 2025
98 of 102 checks passed
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.

1 participant