Replying to myself: sorry for the false lead, this is not the same problem. The one from gcc bugtracker is not related to the stable gcc-6 branch used in Debian unstable, so the problem must be somewhere else. The -fno-printf-return-value is not recognized with gcc 6 from Sid. Best regards Damien