-
Notifications
You must be signed in to change notification settings - Fork 136
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
Options -Wtrampolines and -fstack-clash-protection not universal #277
Comments
The |
Maybe the |
@siddhesh - No, not in my specific case, since it's an Intel-based Mac:
|
That's odd, it's been in clang since 2020, so I'm guessing clang 11-ish. I wonder why Apple hasn't enabled it. |
My guess is that Apple is not deploying the latest and greatest versions. That's really common, which is why we identify compiler versions for things. |
Has this been addressed by the C/C++ Compiler Hardening options guide? @gkunz @thomasnyman @david-a-wheeler |
The placement of the options in the tl;dr section with respect to the main list and situational options has been addressed. Closing after review in Compiler BP Call 2024-06-27. |
In the compiler option hardening materials, running the new "make" test on clang on MacOS causes failures with clang:
The
-pie
problem is known, and resolved by using-fpie
. But -Wtrampolines and -fstack-clash-protection are not universal.The text was updated successfully, but these errors were encountered: