-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
g++-4.9 does not properly throw/catch exceptions on Sierra #7837
Comments
Does this also occur with newer versions of gcc (5 and 6)? gcc 4.9 is getting pretty old, and I doubt that they will produce another bugfix release. |
Unfortunately 5.x and 6.x appear to have a much more subtle 16-byte stack alignment issue when But I have not yet manually compiled GCC 4.9 to ensure that the current issue isn't caused by homebrew (e.g., by having one of GCC's dependencies built by Clang with an incompatible ABI). |
Please do that, thanks! |
Closing due to no response and us being unable to support old versions sufficiently. |
Homebrew
g++-4.9
does not properly throw/catch exceptions on Sierra. For example, compilingvia
g++-4.9 exception.cpp -o exception
and running./exception
produces the outputAbort trap: 6
.brew config
output:brew doctor
output:The text was updated successfully, but these errors were encountered: