https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107042
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Hm, you have | #define HAVE_AS_COMPRESS_DEBUG 2 which is an invalid value. Please remove the build directory and reconfigure it. Does it help?