I tried to get the point of view of a more expert one, but Final freeze is tomorrow, so moving forward with this:
1. - The fix will consist of lowering the branch-protection to bti for arm64 architectures (better than none).
2. - I will check if there are other packages that uses libunwind that could be affected on arm64 by setting -mbranch-protection to standard by default (i.e.: dotnet6).
3. - If point 2 is true, I will fill a bug against libunwind.
I tried to get the point of view of a more expert one, but Final freeze is tomorrow, so moving forward with this:
1. - The fix will consist of lowering the branch-protection to bti for arm64 architectures (better than none).
2. - I will check if there are other packages that uses libunwind that could be affected on arm64 by setting -mbranch-protection to standard by default (i.e.: dotnet6).
3. - If point 2 is true, I will fill a bug against libunwind.