https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102361
--- Comment #13 from DAC324 <dac324 at yahoo dot de> --- Sorry for duplicate reporting. For me, the error message '__write_overflow' declared with attribute error: detected write beyond size of object passed as 1st parameter and its counterpart '__read_overflow2' declared with attribute error: detected read beyond size of object passed as 2nd parameter did not point me to using fnsplit fragment with __attribute__((__error__)) as a correct search term, in the first instance. Please apologize for the inconvenience. Just FYI (although I assume you know this already): With CONFIG_FORTIFY=n, you will be able to build the kernel but it will not run satisfactorily, if able to boot at all.