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

Whitelist UnexpectedException test for all architectures and recommend libunwind in INSTALL #291

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hmelder
Copy link
Collaborator

@hmelder hmelder commented Apr 26, 2024

I am undecided about whether to add a try_compile to the CMakeLists.txt to automatically use CompilerRT and libunwind if they are available. This should exclude Windows and Android.

This PR should be merged after a fix for libgcc: _Unwind_RaiseException corrupts return value is implemented in GCC.

@hmelder
Copy link
Collaborator Author

hmelder commented Apr 26, 2024

On the other hand, automatic configuration is better than manually setting compile flags.

@hmelder
Copy link
Collaborator Author

hmelder commented Apr 28, 2024

What do you think @davidchisnall?

@davidchisnall
Copy link
Member

I think this is the right thing (implicitly linking a non-default unwinded will break things for people), but I’d like CI to be green…

@hmelder
Copy link
Collaborator Author

hmelder commented Apr 29, 2024

but I’d like CI to be green…

We can use CompilerRT + libunwind in the CI

@hmelder
Copy link
Collaborator Author

hmelder commented Apr 29, 2024

I guess finding prebuild libunwind cross builds for ubuntu might be a bit difficult

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants