Skip to content
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

Investigate -fsanitize=cfi and -flto on Clang Linux builds #2120

Closed
RossBrunton opened this issue Sep 23, 2024 · 1 comment
Closed

Investigate -fsanitize=cfi and -flto on Clang Linux builds #2120

RossBrunton opened this issue Sep 23, 2024 · 1 comment

Comments

@RossBrunton
Copy link
Contributor

We would like to run -fsanitize=cfi as part of our clang builds. However, it requires -flto optimization to be enabled, which causes a number of failures (e.g. #2105 ), and makes our test suite run in a non-deterministic order.

We should either fix all of those issues, find a way to run -fsanitize=cfi without -flto or decide we don't want to enable it.

@RossBrunton
Copy link
Contributor Author

#2222 This change doesn't fix all the issues, but it did result in followup tickets being created:

Closing this ticket since we have the flags mostly working and the non-deterministic test ordering has been solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant