https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The problem with -fprintf-return-value is that it pretty much hardcodes the *printf* implementation details into GCC. And on Linux it hardcodes them for glibc, while the kernel has its own *printf* stuff and could behave slightly differently.