Created attachment 51793 [details] Original unreduced test-case One can see it during kernel build. I tried isolating one test-case: $ cat aesni-intel_glue.i struct crypto_aes_ctx { int key_dec[16]; }; int rfc4106_set_hash_subkey_hash_subkey; void __write_overflow(); void aes_encrypt(); void fortify_panic() __attribute__((__noreturn__)) __attribute__((__error__(""))); char *rfc4106_set_hash_subkey() { struct crypto_aes_ctx ctx; unsigned p_size = __builtin_object_size(rfc4106_set_hash_subkey_hash_subkey, 0); if (p_size < 16) __write_overflow(); if (p_size < 16) fortify_panic(__func__); aes_encrypt(ctx); return (char *)rfc4106_set_hash_subkey; } $ gcc aesni-intel_glue.i -O2 -c -fconserve-stack -w aesni-intel_glue.i: In function ‘rfc4106_set_hash_subkey.part.0’: aesni-intel_glue.i:19:5: error: call to ‘fortify_panic’ declared with attribute error: 19 | fortify_panic(__func__); | ^~~~~~~~~~~~~~~~~~~~~~~ I'm also attaching the original unreduced test-case.
I think this is basically a dup of bug 101941.
Yes this is the same issue as PR 101941. *** This bug has been marked as a duplicate of bug 101941 ***