https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89668
Bug ID: 89668 Summary: make[2]: autogen: Command not found Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jiapei at longervision dot com Target Milestone: --- Hi, all: I'm trying to build GCC-8.3.0 for LFS on my host Ubuntu 18.04.2, but NOW hanged for hours at the testsuite, which seems to be exactly the same reported BUG: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29700 . What I met: (lfs chroot) root:/sources/compiler/gcc-8.3.0/build# su nobody -s /bin/bash -c "PATH=$PATH make -k check" make[1]: Entering directory '/sources/compiler/gcc-8.3.0/build' make[2]: Entering directory '/sources/compiler/gcc-8.3.0/build/fixincludes' autogen -T ../../fixincludes/check.tpl ../../fixincludes/inclhack.def make[2]: autogen: Command not found make[2]: *** [Makefile:176: check] Error 127 make[2]: Leaving directory '/sources/compiler/gcc-8.3.0/build/fixincludes' make[1]: *** [Makefile:3674: check-fixincludes] Error 2 make[2]: Entering directory '/sources/compiler/gcc-8.3.0/build/gcc' rm -rf testsuite/gcc-parallel make[3]: Entering directory '/sources/compiler/gcc-8.3.0/build/gcc' (rootme=`${PWDCMD-pwd}`; export rootme; \ srcdir=`cd ../../gcc; ${PWDCMD-pwd}` ; export srcdir ; \ if [ -n "" ] \ && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \ && [ -f testsuite/gcc-parallel/finished ]; then \ rm -rf testsuite/gcc; \ else \ cd testsuite/gcc; \ rm -f tmp-site.exp; \ sed '/set tmpdir/ s|testsuite$|testsuite/gcc|' \ < ../../site.exp > tmp-site.exp; \ /bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \ EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \ if [ -f ${rootme}/../expect/expect ] ; then \ TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \ export TCL_LIBRARY ; \ fi ; \ `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc ; \ if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \ touch ${rootme}/testsuite/gcc-parallel/finished; \ fi ; \ fi ) WARNING: Couldn't find the global config file. Using /sources/compiler/gcc-8.3.0/gcc/testsuite/lib/gcc.exp as tool init file. Test run by nobody on Mon Mar 11 06:49:06 2019 Native configuration is x86_64-pc-linux-gnu === gcc tests === Schedule of variations: unix Running target unix Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target. Using /tools/share/dejagnu/config/unix.exp as generic interface file for target. Using /sources/compiler/gcc-8.3.0/gcc/testsuite/config/default.exp as tool-and-target-specific interface file. Running /sources/compiler/gcc-8.3.0/gcc/testsuite/gcc.c-torture/compile/compile.exp ... Running /sources/compiler/gcc-8.3.0/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp ... Running /sources/compiler/gcc-8.3.0/gcc/testsuite/gcc.c-torture/execute/execute.exp ... So, my questions are: Is make[2]: autogen: Command not found an ERROR? Is autogen required? Is WARNING: Couldn't find the global config file. an ERROR? It looks like it's just a harmless warning, right? I'm pretty sure that my memory is NOT used up. top result is as follows: top - 02:28:19 up 1 day, 15:05, 10 users, load average: 4.14, 3.92, 3.97 Tasks: 434 total, 2 running, 360 sleeping, 0 stopped, 1 zombie %Cpu(s): 12.8 us, 4.6 sy, 0.0 ni, 79.6 id, 0.7 wa, 0.0 hi, 2.3 si, 0.0 st KiB Mem : 49277888 total, 1009552 free, 10700956 used, 37567380 buff/cache KiB Swap: 2097148 total, 2097148 free, 0 used. 36817604 avail Mem Any suggestions? Should I just wait????? But, it's already been hours.... Cheers, have a nice day... Pei