Don't use %n in vasnprintf.c, it breaks things. $ gzip --version FORTIFY: %n not allowed on Android Aborted See m4's issue in #4381. This should be fixed in the next gzip release, though, as gnulib has been updated in the master branch. However, for now, this will fix things.