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

20240711-linuxkm-cross-compilation #7746

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

douzzer
Copy link
Contributor

@douzzer douzzer commented Jul 12, 2024

linuxkm: initial support for cross-compilation.

also, in sp_int.c, tweak DECL_DYN_SP_INT_ARRAY() to use an explicit XMEMSET() to clear n[], to avoid unshimmable implicit memset() from gcc on aarch64.

tested with wolfssl-multi-test.sh ... super-quick-check

@douzzer douzzer self-assigned this Jul 12, 2024
@douzzer douzzer force-pushed the 20240711-linuxkm-cross-compilation branch from 9a8fd51 to 5a4505c Compare July 12, 2024 19:58
@douzzer
Copy link
Contributor Author

douzzer commented Jul 12, 2024

retest this please

@douzzer douzzer force-pushed the 20240711-linuxkm-cross-compilation branch 2 times, most recently from c7ea220 to 57160cf Compare July 22, 2024 23:31
@douzzer
Copy link
Contributor Author

douzzer commented Jul 22, 2024

note this PR now includes the commit from #7776, needed for clean run on wolfssl-multi-test.sh.

edit: rebased after merge of #7776.

@douzzer douzzer requested a review from wolfSSL-Bot July 23, 2024 00:14
@douzzer douzzer assigned wolfSSL-Bot and unassigned douzzer Jul 23, 2024
@douzzer douzzer marked this pull request as ready for review July 23, 2024 00:14
dgarske
dgarske previously approved these changes Jul 23, 2024
@douzzer douzzer dismissed dgarske’s stale review July 23, 2024 13:47

The merge-base changed after approval.

@dgarske dgarske removed the request for review from wolfSSL-Bot July 23, 2024 13:47
dgarske
dgarske previously approved these changes Jul 23, 2024
@douzzer douzzer dismissed dgarske’s stale review July 23, 2024 13:52

The merge-base changed after approval.

also, additional backward-compatibility measures around cp and clean recipe in linuxkm/Makefile.

also, in sp_int.c, tweak DECL_DYN_SP_INT_ARRAY() to use an explicit XMEMSET() to clear n[], to avoid unshimmable implicit memset() from gcc on aarch64.
@douzzer douzzer force-pushed the 20240711-linuxkm-cross-compilation branch from 57160cf to 6ee22de Compare July 23, 2024 15:29
@dgarske dgarske merged commit 140abe6 into wolfSSL:master Jul 23, 2024
121 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.

None yet

3 participants