-
Notifications
You must be signed in to change notification settings - Fork 115
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
Hardening flags #2090
Hardening flags #2090
Conversation
0024ae8
to
39103d7
Compare
acd3f90
to
64ca4eb
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
64ca4eb
to
c069101
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
Pre-merge commit for: oneapi-src/unified-runtime#2090
Pre-merge commit for: oneapi-src/unified-runtime#2090
3ffd955
to
f26c0ba
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
f26c0ba
to
8a5edfb
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
8a5edfb
to
cbd554e
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
Pre-merge commit for: oneapi-src/unified-runtime#2090
9133824
to
d210b7b
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
d210b7b
to
37e292a
Compare
46abcb5
to
b3c51b0
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
b3c51b0
to
56d3e34
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
56d3e34
to
0d61982
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
0d61982
to
12c79e2
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
Pre-merge commit for: oneapi-src/unified-runtime#2090
UR_DEVELOPER_MODE has also been changed to only set Werror. The previous other flags set by this variable either have no effect (-fno-omit-frame-pointer) or are now always enabled (-fstack-protector-strong). Some smaller warnings have also been fixed.
12c79e2
to
aa53a35
Compare
Pre-merge commit for: oneapi-src/unified-runtime#2090
@oneapi-src/unified-runtime-level-zero-write Are you okay with this change? It's adding a bunch of "hardening" flags to the loader targets. |
We can do that, but it will only affect UR and intel/llvm builds. Normally the loader is shipped with the driver package. My (very slight) preference would be that we don't set any flags that might affect the performance or cause difference in behavior compared to the unmodified loader. |
Pre-merge commit for: oneapi-src/unified-runtime#2090 --------- Co-authored-by: Aaron Greig <[email protected]>
UR_DEVELOPER_MODE has also been changed to only set Werror. The
previous other flags set by this variable either have no effect
(-fno-omit-frame-pointer) or are now always enabled
(-fstack-protector-strong).
Some smaller warnings have also been fixed.