https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85663
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is not really possible, as libsanitizer/configure.tgt in 8.x doesn't support mips at all, only GCC 9 has added: + mips*64*-*-linux*) + # This clause is only here to not match the supported mips*-*-linux*. + UNSUPPORTED=1 + ;; + mips*-*-linux*) + ;; lines to libsanitizer/configure.tgt, before that it would fall through to: *) UNSUPPORTED=1 ;; which then means the toplevel configury doesn't build libsanitizer at all: # Disable libsanitizer on unsupported systems. if test -d ${srcdir}/libsanitizer; then if test x$enable_libsanitizer = x; then AC_MSG_CHECKING([for libsanitizer support]) if (srcdir=${srcdir}/libsanitizer; \ . ${srcdir}/configure.tgt; \ test -n "$UNSUPPORTED") then AC_MSG_RESULT([no]) noconfigdirs="$noconfigdirs target-libsanitizer" else AC_MSG_RESULT([yes]) fi fi fi Of course, unless you are patching this in gcc 8.x somehow, but then you are on your own.