diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-31 14:28:46 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-02 18:31:09 +0200 |
commit | 405caf01e9b234bc512ec93ac055d57336ce18d9 (patch) | |
tree | 21203c1129be18734b1eecb5a9bb5b758dc2fe44 /src/socket.c | |
parent | b50ef4dc456178d6d0bc531936501f12f11c2ea8 (diff) |
kbuild: do not use -O3
Apparently, various versions of gcc have O3-related miscompiles. Looking
at the difference between -O2 and -O3 for gcc 11 doesn't indicate
miscompiles, but the difference also doesn't seem so significant for
performance that it's worth risking.
Link: https://lore.kernel.org/lkml/CAHk-=wjuoGyxDhAF8SsrTkN0-YfCx7E6jUN3ikC_tn2AKWTTsA@mail.gmail.com/
Link: https://lore.kernel.org/lkml/CAHmME9otB5Wwxp7H8bR_i2uH2esEMvoBMC8uEXBMH9p0q1s6Bw@mail.gmail.com/
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/socket.c')
0 files changed, 0 insertions, 0 deletions