https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81335

            Bug ID: 81335
           Summary: [gcc8] missing stage3 dependency for
                    insn-modes-inline.h
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

with r249967 and make -j5 and 4-core CPU

I receive

coretypes.h:367:10: fatal error: insn-modes-inline.h: No such file or directory

after restart, `make' works w/o errors.

Sounds like missing dependence in stage3/Makefile?


mv tmp2-tm.texi tmp-tm.texi
/bin/sh /home/dimhen/src/r249967_gcc/gcc/../move-if-change tmp-tm.texi tm.texi
build/genmodes -h > tmp-modes.h
/bin/sh /home/dimhen/src/r249967_gcc/gcc/../move-if-change tmp-modes.h
insn-modes.h
echo timestamp > s-modes-h
build/genmodes -i > tmp-modes-inline.h
/bin/sh /home/dimhen/src/r249967_gcc/gcc/../move-if-change tmp-modes-inline.h \
  insn-modes-inline.h
/home/dimhen/build/r249967_gcc/./prev-gcc/xg++
-B/home/dimhen/build/r249967_gcc/./prev-gcc/
-B/usr/local/gcc_current/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/home/dimhen/build/r249967_gcc/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/dimhen/build/r249967_gcc/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/dimhen/build/r249967_gcc/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
 -I/home/dimhen/build/r249967_gcc/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/home/dimhen/src/r249967_gcc/libstdc++-v3/libsupc++
-L/home/dimhen/build/r249967_gcc/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/dimhen/build/r249967_gcc/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-c   -g -O2 -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror   -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I.
-Ibuild -I/home/dimhen/src/r249967_gcc/gcc
-I/home/dimhen/src/r249967_gcc/gcc/build
-I/home/dimhen/src/r249967_gcc/gcc/../include 
-I/home/dimhen/src/r249967_gcc/gcc/../libcpp/include  \
        -o build/min-insn-modes.o min-insn-modes.c
if [ xinfo = xinfo ]; then \
        makeinfo --split-size=5000000 --split-size=5000000 --split-size=5000000
--no-split -I . -I /home/dimhen/src/r249967_gcc/gcc/doc \
                -I /home/dimhen/src/r249967_gcc/gcc/doc/include -o
doc/gccint.info /home/dimhen/src/r249967_gcc/gcc/doc/gccint.texi; \
fi
echo timestamp > s-modes-inline-h
In file included from min-insn-modes.c:6:0:
/home/dimhen/src/r249967_gcc/gcc/coretypes.h:367:10: fatal error:
insn-modes-inline.h: No such file or directory
 #include "insn-modes-inline.h"
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:2611: build/min-insn-modes.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm fsf-funding.pod gcov.pod gpl.pod cpp.pod gfdl.pod gcc.pod gcov-tool.pod
gcov-dump.pod
make[3]: Leaving directory '/home/dimhen/build/r249967_gcc/gcc'
make[2]: *** [Makefile:4727: all-stage3-gcc] Error 2
make[2]: Leaving directory '/home/dimhen/build/r249967_gcc'
make[1]: *** [Makefile:27611: stage3-bubble] Error 2
make[1]: Leaving directory '/home/dimhen/build/r249967_gcc'
make: *** [Makefile:956: all] Error 2


gcc build was configured as

/home/dimhen/src/r249967_gcc/configure --prefix=/usr/local/gcc_current
--enable-checking=release --enable-languages=c,c++,lto --disable-multilib
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --with-isl --enable-libmpx
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --with-tune=generic

Reply via email to