make fails to build libgcc

Fiodar fedor_qd@mail.ru
Tue Sep 1 10:15:46 GMT 2020


I build gcc with that script with mingw(not mingw64) - https://github.com/fedor4ever/GCC-4-Symbian.

After crash I go to gcc build directiry and set command: make -k 1> make-gcc.log 2>&1

make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\ansidecl.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\tsystem.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/stddef.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/float.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\filenames.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\hashtab.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\coretypes.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\flag-types.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm-opts.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm-flags.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\vxworks-dummy.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\dbxelf.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\elfos.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\unknown-elf.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\elf.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\bpabi.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\symbian.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\aout.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\initfini-array.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\tm-dwarf2.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\defaults.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\longlong.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/unwind-arm-common.h', needed by `unwind-c.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\gcov-io.h', needed by `_gcov_merge_add.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\gcov-counter.def', needed by `_gcov_merge_add.o'.

Looks like as wrong path deducing:
Administrator@fedor4ever /d/mbuild/src/build-gcc/gcc/include
$ file -i "d\:\mbuild\src\gcc-10.2.0\include\hashtab.h"
d\:\mbuild\src\gcc-10.2.0\include\hashtab.h: ERROR: cannot open `d\:\mbuild\src\
gcc-10.2.0\include\hashtab.h' (No such file or directory)

After path fix:
Administrator@fedor4ever /d/mbuild/src/build-gcc/gcc/include
$ file -i "/d/mbuild/src/gcc-10.2.0/include/hashtab.h"
/d/mbuild/src/gcc-10.2.0/include/hashtab.h: text/x-c; charset=us-ascii

And so on for every libgcc subtarget.

Full log:

make[1]: Entering directory `/d/mbuild/src/build-gcc'
make[2]: Entering directory `/d/mbuild/src/build-gcc/libiberty'
make[3]: Entering directory `/d/mbuild/src/build-gcc/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/libiberty/testsuite'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/libiberty'
make[2]: Entering directory `/d/mbuild/src/build-gcc/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/fixincludes'
make[2]: Entering directory `/d/mbuild/src/build-gcc/gmp'
make  all-recursive
make[3]: Entering directory `/d/mbuild/src/build-gcc/gmp'
Making all in tests
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests'
Making all in .
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests'
Making all in devel
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/devel'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/devel'
Making all in mpn
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/mpn'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/mpn'
Making all in mpz
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/mpz'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/mpz'
Making all in mpq
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/mpq'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/mpq'
Making all in mpf
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/mpf'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/mpf'
Making all in rand
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/rand'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/rand'
Making all in misc
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/misc'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/misc'
Making all in cxx
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/tests/cxx'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests/cxx'
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tests'
Making all in mpn
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/mpn'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/mpn'
Making all in mpz
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/mpz'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/mpz'
Making all in mpq
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/mpq'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/mpq'
Making all in mpf
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/mpf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/mpf'
Making all in printf
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/printf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/printf'
Making all in scanf
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/scanf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/scanf'
Making all in rand
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/rand'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/rand'
Making all in cxx
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/cxx'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/cxx'
Making all in demos
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/demos'
Making all in calc
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/demos/calc'
make  all-am
make[6]: Entering directory `/d/mbuild/src/build-gcc/gmp/demos/calc'
make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory `/d/mbuild/src/build-gcc/gmp/demos/calc'
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/demos/calc'
Making all in expr
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/demos/expr'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/demos/expr'
make[5]: Entering directory `/d/mbuild/src/build-gcc/gmp/demos'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/d/mbuild/src/build-gcc/gmp/demos'
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/demos'
Making all in tune
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/tune'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/tune'
Making all in doc
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp/doc'
make[4]: Entering directory `/d/mbuild/src/build-gcc/gmp'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/gmp'
make[3]: Leaving directory `/d/mbuild/src/build-gcc/gmp'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/gmp'
make[2]: Entering directory `/d/mbuild/src/build-gcc/mpfr'
Making all in doc
make[3]: Entering directory `/d/mbuild/src/build-gcc/mpfr/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/mpfr/doc'
Making all in src
make[3]: Entering directory `/d/mbuild/src/build-gcc/mpfr/src'
make  all-am
make[4]: Entering directory `/d/mbuild/src/build-gcc/mpfr/src'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/mpfr/src'
make[3]: Leaving directory `/d/mbuild/src/build-gcc/mpfr/src'
Making all in tests
make[3]: Entering directory `/d/mbuild/src/build-gcc/mpfr/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/mpfr/tests'
Making all in tune
make[3]: Entering directory `/d/mbuild/src/build-gcc/mpfr/tune'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/mpfr/tune'
make[3]: Entering directory `/d/mbuild/src/build-gcc/mpfr'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/mpfr'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/mpfr'
make[2]: Entering directory `/d/mbuild/src/build-gcc/mpc'
make  all-recursive
make[3]: Entering directory `/d/mbuild/src/build-gcc/mpc'
Making all in src
make[4]: Entering directory `/d/mbuild/src/build-gcc/mpc/src'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/mpc/src'
Making all in tests
make[4]: Entering directory `/d/mbuild/src/build-gcc/mpc/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/mpc/tests'
Making all in doc
make[4]: Entering directory `/d/mbuild/src/build-gcc/mpc/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/mpc/doc'
make[4]: Entering directory `/d/mbuild/src/build-gcc/mpc'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/mpc'
make[3]: Leaving directory `/d/mbuild/src/build-gcc/mpc'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/mpc'
make[2]: Entering directory `/d/mbuild/src/build-gcc/isl'
make  all-recursive
make[3]: Entering directory `/d/mbuild/src/build-gcc/isl'
Making all in .
make[4]: Entering directory `/d/mbuild/src/build-gcc/isl'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/isl'
Making all in doc
make[4]: Entering directory `/d/mbuild/src/build-gcc/isl/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/isl/doc'
make[3]: Leaving directory `/d/mbuild/src/build-gcc/isl'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/isl'
make[2]: Entering directory `/d/mbuild/src/build-gcc/lto-plugin'
make  all-am
make[3]: Entering directory `/d/mbuild/src/build-gcc/lto-plugin'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/lto-plugin'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/lto-plugin'
make[2]: Entering directory `/d/mbuild/src/build-gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/intl'
make[2]: Entering directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/libiberty'
make[3]: Entering directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/libiberty/testsuite'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/libiberty'
make[2]: Entering directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/fixincludes'
make[2]: Entering directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/build-i686-pc-mingw32/libcpp'
make[2]: Entering directory `/d/mbuild/src/build-gcc/zlib'
true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-pipe -D__USE_MINGW_ACCESS" "CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=-pipe" "CFLAGS_FOR_TARGET=-g -O2" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "INSTALL_SCRIPT=/bin/install -c" "LDFLAGS=-static-libstdc++ -static-libgcc -Wl,--stack,12582912" "LIBCFLAGS=-pipe -D__USE_MINGW_ACCESS" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect" "RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local/gcc-10.2.0" "infodir=/usr/local/gcc-10.2.0/share/info" "libdir=/usr/local/gcc-10.2.0/lib" "prefix=/usr/local/gcc-10.2.0" "tooldir=/usr/local/gcc-10.2.0/arm-none-symbianelf" "AR=ar" "AS=as" "CC=gcc" "CXX=g++" "LD=d:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../../mingw32/bin/ld.exe" "LIBCFLAGS=-pipe -D__USE_MINGW_ACCESS" "NM=nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR=" DO=all multi-do # make
make[2]: Leaving directory `/d/mbuild/src/build-gcc/zlib'
make[2]: Entering directory `/d/mbuild/src/build-gcc/libbacktrace'
make  all-am
make[3]: Entering directory `/d/mbuild/src/build-gcc/libbacktrace'
true  DO=all multi-do # make
make[3]: Leaving directory `/d/mbuild/src/build-gcc/libbacktrace'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/libbacktrace'
make[2]: Entering directory `/d/mbuild/src/build-gcc/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/libcpp'
make[2]: Entering directory `/d/mbuild/src/build-gcc/libdecnumber'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/libdecnumber'
make[2]: Entering directory `/d/mbuild/src/build-gcc/gcc'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/gcc'
make[2]: Entering directory `/d/mbuild/src/build-gcc/libcc1'
make  all-am
make[3]: Entering directory `/d/mbuild/src/build-gcc/libcc1'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/d/mbuild/src/build-gcc/libcc1'
make[2]: Leaving directory `/d/mbuild/src/build-gcc/libcc1'
Checking multilib configuration for libgcc...
make[2]: Entering directory `/d/mbuild/src/build-gcc/arm-none-symbianelf/libgcc'
Makefile:483: target `_bb_init_func.o' given more than once in the same rule.
Makefile:483: target `_call_via_rX.o' given more than once in the same rule.
Makefile:483: target `_interwork_call_via_rX.o' given more than once in the same rule.
Makefile:483: target `_clzsi2.o' given more than once in the same rule.
Makefile:483: target `_clzdi2.o' given more than once in the same rule.
Makefile:483: target `_ctzsi2.o' given more than once in the same rule.
Makefile:483: target `_ashldi3.o' given more than once in the same rule.
Makefile:483: target `_ashrdi3.o' given more than once in the same rule.
Makefile:483: target `_lshrdi3.o' given more than once in the same rule.
Makefile:485: target `_bb_init_func.vis' given more than once in the same rule.
Makefile:485: target `_call_via_rX.vis' given more than once in the same rule.
Makefile:485: target `_interwork_call_via_rX.vis' given more than once in the same rule.
Makefile:485: target `_clzsi2.vis' given more than once in the same rule.
Makefile:485: target `_clzdi2.vis' given more than once in the same rule.
Makefile:485: target `_ctzsi2.vis' given more than once in the same rule.
Makefile:485: target `_ashldi3.vis' given more than once in the same rule.
Makefile:485: target `_ashrdi3.vis' given more than once in the same rule.
Makefile:485: target `_lshrdi3.vis' given more than once in the same rule.
Makefile:490: target `_bb_init_func_s.o' given more than once in the same rule.
Makefile:490: target `_call_via_rX_s.o' given more than once in the same rule.
Makefile:490: target `_interwork_call_via_rX_s.o' given more than once in the same rule.
Makefile:490: target `_clzsi2_s.o' given more than once in the same rule.
Makefile:490: target `_clzdi2_s.o' given more than once in the same rule.
Makefile:490: target `_ctzsi2_s.o' given more than once in the same rule.
Makefile:490: target `_ashldi3_s.o' given more than once in the same rule.
Makefile:490: target `_ashrdi3_s.o' given more than once in the same rule.
Makefile:490: target `_lshrdi3_s.o' given more than once in the same rule.
# If this is the top-level multilib, build all the other
# multilibs.
make[3]: Entering directory `/d/mbuild/src/build-gcc/arm-none-symbianelf/libgcc'
Makefile:483: target `_bb_init_func.o' given more than once in the same rule.
Makefile:483: target `_call_via_rX.o' given more than once in the same rule.
Makefile:483: target `_interwork_call_via_rX.o' given more than once in the same rule.
Makefile:483: target `_clzsi2.o' given more than once in the same rule.
Makefile:483: target `_clzdi2.o' given more than once in the same rule.
Makefile:483: target `_ctzsi2.o' given more than once in the same rule.
Makefile:483: target `_ashldi3.o' given more than once in the same rule.
Makefile:483: target `_ashrdi3.o' given more than once in the same rule.
Makefile:483: target `_lshrdi3.o' given more than once in the same rule.
Makefile:485: target `_bb_init_func.vis' given more than once in the same rule.
Makefile:485: target `_call_via_rX.vis' given more than once in the same rule.
Makefile:485: target `_interwork_call_via_rX.vis' given more than once in the same rule.
Makefile:485: target `_clzsi2.vis' given more than once in the same rule.
Makefile:485: target `_clzdi2.vis' given more than once in the same rule.
Makefile:485: target `_ctzsi2.vis' given more than once in the same rule.
Makefile:485: target `_ashldi3.vis' given more than once in the same rule.
Makefile:485: target `_ashrdi3.vis' given more than once in the same rule.
Makefile:485: target `_lshrdi3.vis' given more than once in the same rule.
Makefile:490: target `_bb_init_func_s.o' given more than once in the same rule.
Makefile:490: target `_call_via_rX_s.o' given more than once in the same rule.
Makefile:490: target `_interwork_call_via_rX_s.o' given more than once in the same rule.
Makefile:490: target `_clzsi2_s.o' given more than once in the same rule.
Makefile:490: target `_clzdi2_s.o' given more than once in the same rule.
Makefile:490: target `_ctzsi2_s.o' given more than once in the same rule.
Makefile:490: target `_ashldi3_s.o' given more than once in the same rule.
Makefile:490: target `_ashrdi3_s.o' given more than once in the same rule.
Makefile:490: target `_lshrdi3_s.o' given more than once in the same rule.
if [ -z "v5te softfp v5te/softfp" ]; then \
	  true; \
	else \
	  rootpre=`${PWDCMD-pwd}`/; export rootpre; \
	  srcrootpre=`cd ../../../gcc-10.2.0/libgcc; ${PWDCMD-pwd}`/; export srcrootpre; \
	  lib=`echo "${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
	  compiler="/d/mbuild/src/build-gcc/./gcc/xgcc -B/d/mbuild/src/build-gcc/./gcc/ -B/usr/local/gcc-10.2.0/arm-none-symbianelf/bin/ -B/usr/local/gcc-10.2.0/arm-none-symbianelf/lib/ -isystem /usr/local/gcc-10.2.0/arm-none-symbianelf/include -isystem /usr/local/gcc-10.2.0/arm-none-symbianelf/sys-include   "; \
	  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
	    dir=`echo $i | sed -e 's/;.*$//'`; \
	    if [ "${dir}" = "." ]; then \
	      true; \
	    else \
	      if [ -d ../${dir}/${lib} ]; then \
		flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
		if (cd ../${dir}/${lib}; make "AR=/usr/local/gcc-10.2.0/arm-none-symbianelf/bin/ar" "AR_FLAGS=rc" "CC=/d/mbuild/src/build-gcc/./gcc/xgcc -B/d/mbuild/src/build-gcc/./gcc/ -B/usr/local/gcc-10.2.0/arm-none-symbianelf/bin/ -B/usr/local/gcc-10.2.0/arm-none-symbianelf/lib/ -isystem /usr/local/gcc-10.2.0/arm-none-symbianelf/include -isystem /usr/local/gcc-10.2.0/arm-none-symbianelf/sys-include   " "CFLAGS=-g -O2" "DESTDIR=" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/install -c" "INSTALL_DATA=/bin/install -c -m 644" "INSTALL_PROGRAM=/bin/install -c" "LDFLAGS=" "LOADLIBES=" "RANLIB=/usr/local/gcc-10.2.0/arm-none-symbianelf/bin/ranlib" "SHELL=/bin/sh" "prefix=/usr/local/gcc-10.2.0" "exec_prefix=/usr/local/gcc-10.2.0" "libdir=/usr/local/gcc-10.2.0/lib" "libsubdir=/usr/local/gcc-10.2.0/lib/gcc/arm-none-symbianelf/10.2.0" "tooldir=/usr/local/gcc-10.2.0/arm-none-symbianelf" \
				CFLAGS="-g -O2 ${flags}" \
				CCASFLAGS=" ${flags}" \
				FCFLAGS=" ${flags}" \
				FFLAGS=" ${flags}" \
				ADAFLAGS=" ${flags}" \
				prefix="/usr/local/gcc-10.2.0" \
				exec_prefix="/usr/local/gcc-10.2.0" \
				GOCFLAGS="-O2 -g ${flags}" \
				GDCFLAGS="-O2 -g ${flags}" \
				CXXFLAGS="-g -O2 ${flags}" \
				LIBCFLAGS="-g -O2 ${flags}" \
				LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
				LDFLAGS=" ${flags}" \
				MULTIFLAGS="${flags}" \
				DESTDIR="" \
				INSTALL="/bin/install -c" \
				INSTALL_DATA="/bin/install -c -m 644" \
				INSTALL_PROGRAM="/bin/install -c" \
				INSTALL_SCRIPT="/bin/install -c" \
				all); then \
		  true; \
		else \
		  exit 1; \
		fi; \
	      else true; \
	      fi; \
	    fi; \
	  done; \
	fi
make[4]: Entering directory `/d/mbuild/src/build-gcc/arm-none-symbianelf/v5te/libgcc'
Makefile:483: target `_bb_init_func.o' given more than once in the same rule.
Makefile:483: target `_call_via_rX.o' given more than once in the same rule.
Makefile:483: target `_interwork_call_via_rX.o' given more than once in the same rule.
Makefile:483: target `_clzsi2.o' given more than once in the same rule.
Makefile:483: target `_clzdi2.o' given more than once in the same rule.
Makefile:483: target `_ctzsi2.o' given more than once in the same rule.
Makefile:483: target `_ashldi3.o' given more than once in the same rule.
Makefile:483: target `_ashrdi3.o' given more than once in the same rule.
Makefile:483: target `_lshrdi3.o' given more than once in the same rule.
Makefile:485: target `_bb_init_func.vis' given more than once in the same rule.
Makefile:485: target `_call_via_rX.vis' given more than once in the same rule.
Makefile:485: target `_interwork_call_via_rX.vis' given more than once in the same rule.
Makefile:485: target `_clzsi2.vis' given more than once in the same rule.
Makefile:485: target `_clzdi2.vis' given more than once in the same rule.
Makefile:485: target `_ctzsi2.vis' given more than once in the same rule.
Makefile:485: target `_ashldi3.vis' given more than once in the same rule.
Makefile:485: target `_ashrdi3.vis' given more than once in the same rule.
Makefile:485: target `_lshrdi3.vis' given more than once in the same rule.
Makefile:490: target `_bb_init_func_s.o' given more than once in the same rule.
Makefile:490: target `_call_via_rX_s.o' given more than once in the same rule.
Makefile:490: target `_interwork_call_via_rX_s.o' given more than once in the same rule.
Makefile:490: target `_clzsi2_s.o' given more than once in the same rule.
Makefile:490: target `_clzdi2_s.o' given more than once in the same rule.
Makefile:490: target `_ctzsi2_s.o' given more than once in the same rule.
Makefile:490: target `_ashldi3_s.o' given more than once in the same rule.
Makefile:490: target `_ashrdi3_s.o' given more than once in the same rule.
Makefile:490: target `_lshrdi3_s.o' given more than once in the same rule.
# If this is the top-level multilib, build all the other
# multilibs.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\ansidecl.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\tsystem.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/stddef.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/float.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\filenames.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\hashtab.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\coretypes.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\flag-types.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm-opts.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm-flags.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\vxworks-dummy.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\dbxelf.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\elfos.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\unknown-elf.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\elf.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\bpabi.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\symbian.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\aout.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\initfini-array.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\tm-dwarf2.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\defaults.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\longlong.h', needed by `_ucmpdi2.o'.
make[4]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/unwind-arm-common.h', needed by `unwind-c.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\gcov-io.h', needed by `_gcov_merge_add.o'.
make[4]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\gcov-counter.def', needed by `_gcov_merge_add.o'.
# Early copyback; see "all" above for the rationale.  The
# early copy is necessary so that the gcc -B options find
# the right startup files when linking shared libgcc.
/bin/sh ../../../../gcc-10.2.0/libgcc/../mkinstalldirs ../../.././gcc/v5te
parts="crtfastmath.o";					\
	for file in $parts; do					\
	  rm -f ../../.././gcc/v5te/$file;		\
	  /bin/install -c -m 644 $file ../../.././gcc/v5te/;	\
	  case $file in 					\
	    *.a)						\
	      /usr/local/gcc-10.2.0/arm-none-symbianelf/bin/ranlib ../../.././gcc/v5te/$file ;;	\
	  esac;							\
	done
/bin/install: cannot stat `crtfastmath.o': No such file or directory
dest=../../.././gcc/include/tmp$$-unwind.h; \
	cp unwind.h $dest; \
	chmod a+r $dest; \
	sh ../../../../gcc-10.2.0/libgcc/../move-if-change $dest ../../.././gcc/include/unwind.h
make[4]: Target `all' not remade because of errors.
make[4]: Leaving directory `/d/mbuild/src/build-gcc/arm-none-symbianelf/v5te/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/d/mbuild/src/build-gcc/arm-none-symbianelf/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\ansidecl.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\tsystem.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/stddef.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/float.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\filenames.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\hashtab.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\coretypes.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\flag-types.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm-opts.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm-flags.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\vxworks-dummy.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\dbxelf.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\elfos.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\unknown-elf.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\elf.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\bpabi.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\symbian.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\aout.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\arm\arm.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\initfini-array.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\config\tm-dwarf2.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\defaults.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\include\longlong.h', needed by `_ucmpdi2.o'.
make[2]: *** No rule to make target `d\:/mbuild/src/build-gcc/gcc/include/unwind-arm-common.h', needed by `unwind-c.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\gcov-io.h', needed by `_gcov_merge_add.o'.
make[2]: *** No rule to make target `d\:\mbuild\src\gcc-10.2.0\gcc\gcov-counter.def', needed by `_gcov_merge_add.o'.
# Early copyback; see "all" above for the rationale.  The
# early copy is necessary so that the gcc -B options find
# the right startup files when linking shared libgcc.
/bin/sh ../../../gcc-10.2.0/libgcc/../mkinstalldirs ../.././gcc
parts="crtfastmath.o";					\
	for file in $parts; do					\
	  rm -f ../.././gcc/$file;		\
	  /bin/install -c -m 644 $file ../.././gcc/;	\
	  case $file in 					\
	    *.a)						\
	      /usr/local/gcc-10.2.0/arm-none-symbianelf/bin/ranlib ../.././gcc/$file ;;	\
	  esac;							\
	done
/bin/install: cannot stat `crtfastmath.o': No such file or directory
dest=../.././gcc/include/tmp$$-unwind.h; \
	cp unwind.h $dest; \
	chmod a+r $dest; \
	sh ../../../gcc-10.2.0/libgcc/../move-if-change $dest ../.././gcc/include/unwind.h
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `/d/mbuild/src/build-gcc/arm-none-symbianelf/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Target `all-target' not remade because of errors.
make[1]: Leaving directory `/d/mbuild/src/build-gcc'
make: *** [all] Error 2

Stryzhniou Fiodar
Стрижнёв Федор


More information about the Gcc-help mailing list