Currently utils/benchmark/src/cycleclock.h timing defines error out for unsupported architectures. However, some Linux distributions like T2 (https://t2sde.org) still somewhat support, and even cross compile Alpha, HPPA, IA64, Motorola 68k, and llvm is needed for Mesa 3d, BPF, etc.
Simply fix the build by moving the MIPS gettimeofday fallback to the last else case to fix building for most non mainstream architecture where the C++ codebase otherwise just compiles fine, too ;-)