https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82365
--- Comment #12 from Arnd Bergmann <arnd at linaro dot org> --- The first partial workaround for strncpy() got merged into Linux and stable backports: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=146734b091430 Submitted a second partial workaround for BUG(): https://patchwork.kernel.org/patch/10123109/