Hi, while compiling 7.2.0 im getting the following:
cc1: error: no include path in which to search for stdc-predef.h cc1: note: self-tests are not enabled in this build In file included from ./../gcc/config.h:6:0, from /run/media/void/minnow/src/gcc-7.2.0/libcc1/libcc1plugin.cc:27: ./../gcc/auto-host.h:779:0: warning: "HAVE_DECL_BASENAME" redefined #define HAVE_DECL_BASENAME 0 In file included from /run/media/void/minnow/src/gcc-7.2.0/libcc1/libcc1plugin.cc:20:0: ./cc1plugin-config.h:6:0: note: this is the location of the previous definition #define HAVE_DECL_BASENAME 1 In file included from ./../gcc/config.h:6:0, from /run/media/void/minnow/src/gcc-7.2.0/libcc1/libcp1plugin.cc:28: ./../gcc/auto-host.h:779:0: warning: "HAVE_DECL_BASENAME" redefined #define HAVE_DECL_BASENAME 0 In file included from /run/media/void/minnow/src/gcc-7.2.0/libcc1/libcp1plugin.cc:21:0: ./cc1plugin-config.h:6:0: note: this is the location of the previous definition #define HAVE_DECL_BASENAME 1 configure: error: in `/run/media/void/minnow/build/gcc-7.2.0/x86_64-lfs-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[1]: *** [Makefile:12068: configure-target-libgcc] Error 1 make: *** [Makefile:880: all] Error 2 If gcc is able to recognize between sources in one dir and objects in another dir Does a patch exist to fix this? thanks, Marek