http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
Bug #: 50991 Summary: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org CC: r...@gcc.gnu.org Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa-unknown-linux-gnu Seems to be a dependency error in generating libgcc_tm.h at -j4. make[3]: Entering directory `/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgcc' # If this is the top-level multilib, build all the other DEFINES='' HEADERS='' \ ../../../gcc/libgcc/mkheader.sh > tmp-libgcc_tm.h /home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/include -isystem /home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fno-stack-protector -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -o crtbegin.o -MT crtbegin.o -MD -MP -MF crtbegin.dep -c ../../../gcc/libgcc/crtstuff.c -DCRT_BEGIN /home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/include -isystem /home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -g0 -finhibit-size-directive -fno-inline -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fno-stack-protector -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -o crtbeginS.o -MT crtbeginS.o -MD -MP -MF crtbeginS.dep -fPIC -c ../../../gcc/libgcc/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O # multilibs. /bin/bash ../../../gcc/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h ../../../gcc/libgcc/crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory compilation terminated. make[3]: *** [crtbegin.o] Error 1 make[3]: *** Waiting for unfinished jobs.... echo timestamp > libgcc_tm.stamp ../../../gcc/libgcc/crtstuff.c: In function ‘frame_dummy’: ../../../gcc/libgcc/crtstuff.c:387:19: warning: array subscript is above array bounds [-Warray-bounds] make[4]: Entering directory `/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgcc'