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

Bugfix: Issue #2880 - Corrects Zephyr include files for current versions of Zephyr #2881

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

srberard
Copy link
Contributor

@srberard srberard commented Dec 7, 2023

This fixes bug #2880. Zephyr 3.2 made changes to how headers are reference (see release notes). Work item 49578 deprecated the old headers names. The current WAMR codebase references these old headers, thus causing compile errors with current versions of Zephyr.

This update adds #ifdefs around the header names. With this change, compiling with Zephyr 3.2.0 and above will use the new header files. Prior versions will use the existing code.

I have tested this with Zephyr 3.2.0, 3.30, and the latest Zephyr release. I have not verified this with the current LTS version (2.7.0).

Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenyongh wenyongh merged commit df83aef into bytecodealliance:main Dec 8, 2023
383 checks passed
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…ealliance#2881)

This fixes bug bytecodealliance#2880.  Zephyr 3.2 made changes to how headers are reference (see [release notes](https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html)).  Work item [49578](zephyrproject-rtos/zephyr#49578) deprecated the old headers names.
The current WAMR codebase references these old headers, thus causing compile errors with
current versions of Zephyr.

This update adds #ifdefs around the header names.  With this change, compiling with Zephyr 3.2.0
and above will use the new header files.  Prior versions will use the existing code.
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.

2 participants