https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304
--- Comment #5 from Andreas Tobler <andreast at gcc dot gnu.org> --- Hi Tobias, on FreeBSD-12.1, the ld is from binutils 2.17, a really old one. Try to configure with '--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld '. Prerequisite is the installation of the binutils package. I just tried on FreeBSD-13-trunk, stage one passed with the above config parameters. (Today's gcc trunk) Now I try to use the llvm ld, the one which will be /usr/bin/ld from FreeBSD-13 up. Let me how it works, Andreas