https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113230
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 56988 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56988&action=edit dejagnu board that I use And run the testsuite like: export SIM_ARM=qemu-aarch64 export QEMU_LD_PREFIX=${SYSROOT} make -j${CPUS} -k check RUNTESTFLAGS="--target_board=qemu_board SIM_ARM=${SIM_ARM} $1" And have the target libraries installed already in the SYSROOT .