https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114105
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Something like: ``` diff --git a/gcc/jit/dummy-frontend.cc b/gcc/jit/dummy-frontend.cc index dbeeacd17a8..f57fb805a5f 100644 --- a/gcc/jit/dummy-frontend.cc +++ b/gcc/jit/dummy-frontend.cc @@ -18,6 +18,7 @@ along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ #include "config.h" +#define INCLUDE_VECTOR #include "system.h" #include "coretypes.h" #include "jit-playback.h" ``` >Part of the reason FreeBSD puts effort into making --disable-bootstrap work This should not be done unless you are building with GCC itself. The reason is only the C, C++ front-ends are supposed to be able to compile with a (non-GCC) C++11 compiler. So FreeBSD is doing it wrong anyways.