-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
__zig_probe_stack undefined in static libraries #6817
Comments
That's not a good idea, isn't it? Silently turning off safety measures is not nice. |
It has happened - here are a couple examples: e3ea0b6 9153681 It looks like I regressed |
Now you can pass After #7264 you would be able to also do this to get a compiler_rt object (or library): |
When building static libraries, the
__zig_probe_stack
symbol is undefined:Passing
-fno-stack-check
fixes this (thanks @FireFox317 !), but maybe stack checking should be disabled automatically when building static libraries. Or maybe we want to linkcompile_rt
?What would be the best way to improve this?
The text was updated successfully, but these errors were encountered: