https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119430
--- Comment #8 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Alexandre Oliva from comment #7) Try this? ~/git/gcc/configure --host=armv7a-unknown-linux-gnueabihf --build=armv7a-unknown-linux-gnueabihf --target=armv7a-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --enable-bootstrap --prefix=/tmp/gcc-pfx --enable-languages=ada,c,c++ --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --with-build-config="bootstrap-lto bootstrap-O3" && make -j$(nproc) -l$(nproc) profiledbootstrap (I think the combination of the --enable-default* and --enable-host* is unfortunately needed, but I'll try cut it down again later to check.)