-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
GHA CI: enable run-time checks in C++ library #19608
Conversation
Did you do any testing with I came across arvidn/libtorrent#7519 which references below: |
I haven't really checked but I think the compiler/library in CI isn't modern enough to support |
According to docs:
I would not add to the CI build configurations anything that could significantly reduce performance or add any significant differences from the release builds, as this may give false/unsuitable test results. |
|
I agree with the significantly part. Talking about
I would rather expect the flag to expose valid bugs than to worry about negative side effects. Also there are other security hardening flags but they won't help catching bugs so I didn't bother. (those are better suited for final release builds) |
In case anyone is interested, I've used (D_FORTIFY_SOURCE=3) via 24.04 image in https://github.com/xavier2k6/qBittorrent/actions/runs/11084022076 |
👍 Please make a PR. |
Currently GHA are migrating See: actions/runner-images#10636 As soon as this is done/qBittorrent repo is migrated to use these runners- will open a PR then. |
Those have minimal impact on run-time:
https://www.gnu.org/software/libc/manual/html_node/Source-Fortification.html
https://bugs.launchpad.net/kicad/+bug/1838448/comments/40