https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67102
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Andrew Pinski <pins...@gcc.gnu.org>: https://gcc.gnu.org/g:db1a65d9364fe72c2fff65fb2dec051728b6f3fa commit r12-3583-gdb1a65d9364fe72c2fff65fb2dec051728b6f3fa Author: Andrew Pinski <apin...@marvell.com> Date: Wed Sep 15 09:51:08 2021 +0000 Fix PR 67102: Add libstdc++ dependancy to libffi The error message is obvious -funconfigured-libstdc++-v3 is used on the g++ command line. So we just add the dependancy. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. ChangeLog: PR bootstrap/67102 * Makefile.def: Have configure-target-libffi depend on all-target-libstdc++-v3. * Makefile.in: Regenerate.