Messages in this thread | | | Date | Thu, 27 Aug 2020 18:24:47 +1000 | From | Herbert Xu <> | Subject | Re: lib/crypto/chacha.c:65:1: warning: the frame size of 1604 bytes is larger than 1024 bytes |
| |
On Thu, Aug 27, 2020 at 10:10:19AM +0200, Ard Biesheuvel wrote: > > Is it really worth it to obsess about this? Special compiler > instrumentation simply leads to a larger stack footprint in many > cases, which is why we use a larger stack to begin with (at least we > do so for Kasan, so if we don't for Ubsan, we should consider it)
Perhaps the stack frame warning should be disabled if both GCOV and UBSAN are on.
> Past experience also shows that this is highly dependent on the exact > compiler version, so issues like these are often moving targets.
Interestingly this particular file fails with those options on gcc 8, 9 and 10.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |