http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53679
--- Comment #3 from Allan McRae <allan at archlinux dot org> 2012-06-15 22:36:54 UTC --- Just to be clear, I have not modified the compiler to enable fortify by default, but it is in my CFLAGS... As this is the only place that glibc's decision to enforce a check on the return value of write causes the build to fail with these CFLAGS, it would be nice to include the posted work-around, or equivalently: - runtime_write(2, v, n) + if(runtime_write(2, v, n)) {}