Open hmelder opened 2 months ago
On the other hand, automatic configuration is better than manually setting compile flags.
What do you think @davidchisnall?
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…
but I’d like CI to be green…
We can use CompilerRT + libunwind in the CI
I guess finding prebuild libunwind cross builds for ubuntu might be a bit difficult
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.