-
Notifications
You must be signed in to change notification settings - Fork 33
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
C++: exception raised by any_cast leads to SIGBUS #83
Comments
So this one, at least, is fixed on master - does it work for x86_64 on the 11 branch? |
There is something weird here, because it's still not fixed on the Homebrew version of GCC 13.1.0:
which is the same as |
I am seeing it (so the fix has somehow been undone, or was a spurious result - in light of the ABI comment below spurious results are feasible)
Possibly (even likely) related : I found out (this week!!) that Arm64 Darwin actually has a different ABI for As it happens, I've been working on trying to build edit: I hope to have a non-polished version of this over the weekend, so I will try this specific case to see if it is |
the possible arm64 ABI issue theory is strengthened when finding that the same test works OK on all the same versions for x86_64 (of course, it could also be some other aspect of the Arm64 port 'greenness'. |
Initial indications are that the reworked libstdc++ does solve the problem on arm64 (and x86_64 continues to work). However; there is a way to go to polish this up and it's pretty invasive to libstdc++ (so we will have to see if upstream finds it useful). |
I don't have the latest build available at the moment, and can't build it (I'm traveling), and this was reported and confirmed on the GCC 11 backport (original report at Homebrew/homebrew-core#96230).
The text was updated successfully, but these errors were encountered: