when using genkernel dietlibc compilation fails when -fstack-protect is included in CFLAGS Reproducible: Always Steps to Reproduce: 1. 2. 3.
hardened does not support -fstack-protector via CFLAGS. We have patches in dietlibc that handle ssp correctly when using the hardened toolchain and profiles.. Solution options. 1) enable USE=hardened and rebuild your toolchain 2) remove -fstack-protector from CFLAGS 3) build a kernel yourself.