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

Update Fix more generic for platforms that do not have execinfo.h #10910

Merged
merged 1 commit into from Oct 14, 2023

Conversation

simbit18
Copy link
Contributor

@simbit18 simbit18 commented Oct 14, 2023

Summary

Simulator build fails on non-GLIBC platform #5621 #5623.
On platforms where the execinfo.h file is missing, the Gnulib substitute implementation is just a stub, and does nothing.
https://www.gnu.org/software/gnulib/manual/html_node/execinfo_002eh.html
Improve multiplatform code with __has_include.
https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005finclude.html

Impact

On Linux with glibc: There should be no impact.
On other platforms: Enable simulator compilation.

Testing

We tested on platform Alpine linux sim:nsh on github sim:lua

Improve multiplatform code with __has_include.
@simbit18
Copy link
Contributor Author

@xiaoxiang781216 @acassis I updated #10905

@xiaoxiang781216 xiaoxiang781216 merged commit 2be45a3 into apache:master Oct 14, 2023
26 checks passed
@simbit18 simbit18 deleted the simbit18-20231014 branch October 17, 2023 13:02
@jerpelea jerpelea added this to To-Add in Release Notes - 12.4.0 Dec 27, 2023
@jerpelea jerpelea moved this from To-Add to processed in Release Notes - 12.4.0 Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants