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

Simulator build fails on non-GLIBC platform #5621

Closed
patacongo opened this issue Feb 25, 2022 · 0 comments · Fixed by #5623
Closed

Simulator build fails on non-GLIBC platform #5621

patacongo opened this issue Feb 25, 2022 · 0 comments · Fixed by #5623
Labels
breaking change This change requires a mitigation entry in the release notes. bug Something isn't working good first issue Good for newcomers regression

Comments

@patacongo
Copy link
Contributor

patacongo commented Feb 25, 2022

On Cygwin, I am seeing a failure to compile due to the inclusion of execinfo.h in arch/sim/src/sim/up_hostmisc.c. execinfo.o is NOT a standard header file but is unique to GLIBC. I think we need a configuration option to suppose the backtrace capability on platforms that do no have execinfo.h.

I am not sure on what platforms execinfo.h is available, I think it may only be GLIBC on Linux (since Cygwin also uses GLIBC).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change This change requires a mitigation entry in the release notes. bug Something isn't working good first issue Good for newcomers regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant