This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I've always suspected that not all the bugs were worked out of the make -j support for older gcc's, and now I have a bit of evidence, maybe: the gcc makefile seems to use cc1plus right before it's created, or while it's being written, or something, when building with -j4 on a dual processor machine (with hyperthreading, which I guess is why my little script picked -j4, it got fooled). Guess I'll try a lower value of -j. Here's a (confused) log snippet:
/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc/xgcc \ -B/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc/ \ -B/home/dkegel/crosstooltest/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/i686-unknown-linux-gnu/bin/ \ -I/home/dkegel/crosstooltest/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/i686-unknown-linux-gnu/include \ -O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -fPIC -g1 \ -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g -O2 \ -I. -I/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc \ -I/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc/config\ -I/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc/../include \ -c /foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc/cp/tinfo.cc ^^^ tries to compile a C++ file
gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -o ../cc1plus `cat ../stamp-objlist` ../c-common.o ../c-pragma.o \ call.o decl.o errfn.o expr.o pt.o sig.o typeck2.o class.o decl2.o error.o lex.o parse.o ptree.o \ rtti.o spew.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o xref.o \ repo.o
`if [ xobstack.o != x ]; then echo ../obstack.o; else true; fi` `case "gcc" in "cc") if [ x != x ]; then echo ../; else true; fi ;; esac` `if [ x != x ]; then echo ../; else true; fi` make[2]: Leaving directory `/bar/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc' make[2]: Entering directory `/bar/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc'
/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc/xgcc \ -B/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc/ \ -B/home/dkegel/crosstooltest/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/i686-unknown-linux-gnu/bin/ \ -I/home/dkegel/crosstooltest/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/i686-unknown-linux-gnu/include \ -O2 -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include -fPIC -g1 \ -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -g -O2 \ -I. -I/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc \ -I/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc/config \ -I/foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc/../include \ -c /foo/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/gcc-2.95.3/gcc/cp/tinfo2.cc
xgcc: installation problem, cannot exec `cc1plus': No such file or directory make[2]: *** [tinfo2.o] Error 1 make[2]: Leaving directory `/bar/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc' make[1]: *** [libgcc2.a] Error 1 make[1]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/bar/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc/cp' make[1]: Leaving directory `/bar/crosstool-0.32/build/i686-unknown-linux-gnu/gcc-2.95.3-glibc-2.2.5/build-gcc/gcc' make: *** [all-gcc] Error 2
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |