make[2]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' if [ -d stage1 ] ; then true ; else mkdir stage1 ; fi make -f libgcc.mk libgcc-stage-start stage=stage1 make[3]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' for dir in libgcc; do \ if [ -d stage1/$dir ]; then :; \ else /bin/sh /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../mkinstalldirs stage1/$dir; fi; \ done mkdir -p -- stage1/libgcc for dir in libgcc; do \ mv $dir/*.o stage1/$dir; \ mv $dir/*.vis stage1/$dir; \ mv $dir/*.map stage1/$dir; \ test ! -f $dir/libgcc.a || mv $dir/lib* stage1/$dir; \ done cannot stat `libgcc/*.vis': No such file or directory make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' subdirs="cp build"; for dir in $subdirs; \ do \ if [ -d stage1/$dir ] ; then true ; else mkdir stage1/$dir ; fi ; \ done rm -f stage1/libgcc.a stage1/libgcc_eh.a stage1/libgcov.a rm -f stage1/libgcc_s*.so rm -f stage1/libunwind.a stage1/libunwind*.so mv specs stage1/specs mv *.o s-* xgcc cpp cc1 cc1*-dummy crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o crtfastmath.o gcc-cross protoize unprotoize specs collect2 gcov-iov gcov gcov-dump *.[0-9][0-9].* *.[si] *-checksum.c libbackend.a libgcc.mk g++ g++-cross cc1plus stage1 cannot stat `crtbegin.o': No such file or directory cannot stat `crtbeginS.o': No such file or directory cannot stat `crtbeginT.o': No such file or directory cannot stat `crtend.o': No such file or directory cannot stat `crtendS.o': No such file or directory cannot stat `crtfastmath.o': No such file or directory cannot stat `gcc-cross': No such file or directory cannot stat `protoize': No such file or directory cannot stat `unprotoize': No such file or directory cannot stat `specs': No such file or directory cannot stat `gcov-iov': No such file or directory cannot stat `gcov': No such file or directory cannot stat `gcov-dump': No such file or directory cannot stat `*.[0-9][0-9].*': No such file or directory cannot stat `*.[si]': No such file or directory cannot stat `g++-cross': No such file or directory cannot stat `cc1plus': No such file or directory make[2]: [stage1-start] Error 1 (ignored) mv build/* stage1/build cp -p insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c insn-preds.c insn-constants.h tm-preds.h tree-check.h insn-conditions.c min-insn-modes.c insn-modes.c insn-modes.h genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-gen.h stage1 if [ -f as ] ; then (cd stage1 && ln -s ../as .) ; else true ; fi if [ -f ld ] ; then (cd stage1 && ln -s ../ld .) ; else true ; fi if [ -f collect-ld ] ; then (cd stage1 && ln -s ../collect-ld .) ; else true ; fi cp libgcc.a stage1 i386-pc-linux-gnu-ranlib stage1/libgcc.a cp libgcov.a stage1 i386-pc-linux-gnu-ranlib stage1/libgcov.a if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage1; \ i386-pc-linux-gnu-ranlib stage1/libgcc_eh.a; \ fi cp libgcc_s*.so stage1 cp libunwind.a libunwind*.so stage1 cannot stat `libunwind.a': No such file or directory cannot stat `libunwind*.so': No such file or directory make[2]: [stage1-start] Error 1 (ignored) for f in .. ; do if [ x${f} != x.. ]; then \ cp stage1/${f} . ; \ else true; \ fi; done mv cp/*.o stage1/cp cannot stat `cp/*.o': No such file or directory make[2]: [c++.stage1] Error 1 (ignored) for dir in . cp build ; \ do \ rm -f $dir/*.{gcda,gcno} ; \ done make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' echo timestamp > stage1_copy echo stage2_build > stage_last make CC=" stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/" CC_FOR_BUILD=" stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/" \ STAGE_PREFIX=stage1/ \ ADAFLAGS="" CFLAGS="-march=pentium-mmx -O2 -pipe" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)" STRICT_WARN="-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute " libdir=/usr/lib LANGUAGES="c gcov gcov-dump c++ proto" MAKEINFO="makeinfo --split-size=5000000" MAKEINFOFLAGS="--no-split" MAKEOVERRIDES= OUTPUT_OPTION="-o \$@" \ CFLAGS="-march=pentium-mmx -O2 -pipe -fprofile-generate" make[2]: Entering directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' gawk -f /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/opt-gather.awk /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/c.opt /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/common.opt /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/i386.opt > tmp-optionlist /bin/sh /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../move-if-change tmp-optionlist optionlist optionlist is unchanged echo timestamp > s-options gawk -f /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/opt-functions.awk -f /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/opth-gen.awk \ < optionlist > tmp-options.h /bin/sh /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../move-if-change tmp-options.h options.h options.h is unchanged echo timestamp > s-options-h stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/ -c -march=pentium-mmx -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/build -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../libcpp/include -o build/genmodes.o /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/genmodes.c stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/ -c -march=pentium-mmx -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/build -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/../libcpp/include -o build/errors.o /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/errors.c stage1/xgcc -Bstage1/ -B/usr/i386-pc-linux-gnu/bin/ -march=pentium-mmx -O2 -pipe -fprofile-generate -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genmodes \ build/genmodes.o build/errors.o ../build-i386-pc-linux-gnu/libiberty/libiberty.a build/genmodes -h > tmp-modes.h /bin/sh: build/genmodes: No such file or directory make[2]: *** [s-modes] Error 127 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.2 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 5354: Called src_compile ebuild.sh, line 1304: Called toolchain_src_compile toolchain.eclass, line 26: Called gcc_src_compile toolchain.eclass, line 1550: Called gcc_do_make toolchain.eclass, line 1424: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.1.2/temp/build.log'.