Index: libexec/rtld-elf/i386/Makefile.inc =================================================================== --- libexec/rtld-elf/i386/Makefile.inc +++ libexec/rtld-elf/i386/Makefile.inc @@ -1,3 +1,7 @@ # $FreeBSD$ +.if ${COMPILER_TYPE} == "gcc" +# GCC 9 requires functions from libcompiler_rt. +LIBADD+= compiler_rt +.endif CFLAGS+= ${CFLAGS_NO_SIMD} -msoft-float -fvisibility=hidden