构建交叉编译器-编译gcc错误

Mar*_*cký 5 c gcc cross-compiling osdev

我正在尝试构建交叉编译器,并按照此教程进行操作:GCC交叉编译器-OSDev Wiki。我已经下载了本文中提到的最新gcc和一些库等。

问题在于构建GCC本身,特别是在make all-gcc指挥方面。运行此命令后,出现以下错误:

In file included from ../../gcc-5.2.0/gcc/graphite.c:88:0:
../../gcc-5.2.0/gcc/graphite-poly.h:398:43: error: ‘isl_constraint’ has not been declared
 extern void print_isl_constraint (FILE *, isl_constraint *);
                                           ^
../../gcc-5.2.0/gcc/graphite-poly.h:402:35: error: variable or field ‘debug_isl_constraint’ declared void
 extern void debug_isl_constraint (isl_constraint *);
                                   ^
../../gcc-5.2.0/gcc/graphite-poly.h:402:35: error: ‘isl_constraint’ was not declared in this scope
../../gcc-5.2.0/gcc/graphite-poly.h:402:51: error: expected primary-expression before ‘)’ token
 extern void debug_isl_constraint (isl_constraint *);
                                                   ^
make[1]: *** [graphite.o] Error 1
make[1]: Leaving directory `/home/_tos/src/build-gcc/gcc'
make: *** [all-gcc] Error 2
Run Code Online (Sandbox Code Playgroud)

我想我可以修复那些代码,并且可以正常工作,但是还有其他更好的解决方案吗?

谢谢