You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: discover -O0 side-channel components from a source marker
The list of timing-sensitive components built at -O0 was hand-maintained in the
Makefile, so adding one required a Makefile edit (breaking the drop-in component
model) and the -O0 files emitted a spurious "_FORTIFY_SOURCE requires -O"
warning from glibc.
Discover the set by grepping the source for a KASLD_BUILD_NO_OPTIMIZE marker
(added to each of the 7 side-channel headers) instead, and append
-U_FORTIFY_SOURCE to the -O0 recipe to drop the fortify define (a no-op at -O0).
Whole-file -O0 is kept deliberately — a per-function no-opt attribute is not a
reliable substitute for the timing guarantee.
0 commit comments