public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* make fails to build libgcc
@ 2020-09-01 10:15 Fiodar
  2020-09-06  9:06 ` fedor_qd
  0 siblings, 1 reply; 4+ messages in thread
From: Fiodar @ 2020-09-01 10:15 UTC (permalink / raw)
  To: gcc-help

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
Стрижнёв Федор

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make fails to build libgcc
  2020-09-01 10:15 make fails to build libgcc Fiodar
@ 2020-09-06  9:06 ` fedor_qd
  2020-09-06 16:10   ` Dennis Clarke
  0 siblings, 1 reply; 4+ messages in thread
From: fedor_qd @ 2020-09-06  9:06 UTC (permalink / raw)
  To: Fiodar; +Cc: gcc-help


Hi! I asked several days ago and nobody answers. Any idea?
--
Отправлено из myMail для Android вторник, 01 сентября 2020г., 13:16 +03:00 от Fiodar  fedor_qd@mail.ru :

>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
>Стрижнёв Федор

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: make fails to build libgcc
  2020-09-06  9:06 ` fedor_qd
@ 2020-09-06 16:10   ` Dennis Clarke
  2020-09-06 21:27     ` Re[2]: " fedor_qd
  0 siblings, 1 reply; 4+ messages in thread
From: Dennis Clarke @ 2020-09-06 16:10 UTC (permalink / raw)
  To: gcc-help

On 9/6/20 5:06 AM, fedor_qd@mail.ru wrote:
> 
> Hi! I asked several days ago and nobody answers. Any idea?

What did you use for "configure" and what were the results of that
configure command?

What operating system?

What architecture?

What were the env var setup at the time?  CFLAGS?  CPPFLAGS?  etc ?




-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re[2]: make fails to build libgcc
  2020-09-06 16:10   ` Dennis Clarke
@ 2020-09-06 21:27     ` fedor_qd
  0 siblings, 0 replies; 4+ messages in thread
From: fedor_qd @ 2020-09-06 21:27 UTC (permalink / raw)
  To: Dennis Clarke, gcc-help


It was on top my email.
I build gcc with that script with mingw(not mingw64) - https://github.com/fedor4ever/GCC-4-Symbian.
Script part related gcc:
export TARGET=arm-none-symbianelf
GCCC=gcc-10.2.0
# Installation folder
export PREFIX=/usr/local/$GCCC
export PATH=$PATH:$PREFIX/bin
export CONFIGURE=$GCCC/libstdc++-v3/configure
unset CFLAGS
export CFLAGS+="-pipe"
# I want have enviroment-free statically linked GCC
ICONV=--with-libiconv-prefix=/usr/local
echo "Copyng gcc dependency libs started"
MPC=mpc-1.0.3
ISL=isl-0.16.1
GMP=gmp-6.1.0
MPFR=mpfr-3.1.4
for arg in "$MPC" "$ISL" "$GMP" "$MPFR"
do
dir=`echo "$arg" | grep -Eo '^.{3}[[:alpha:]]?'`
if [ ! -d $GCCC/$dir ] ; then
if [ ! -f $arg.tar.* ] ; then
$WGET ftp://gcc.gnu.org/pub/gcc/infrastructure/$arg.tar.bz2 ftp://gcc.gnu.org/pub/gcc/infrastructure/$arg.tar.gz
fi
tar -xf $arg.tar.*
cp -Ru $arg $GCCC/$dir
fi
done
echo "Copyng gcc dependency libs finished"
# patch for the EOF, SEEK_CUR, and SEEK_END integer constants
# because autoconf can't set them
find='as_fn_error "computing EOF failed" "$LINENO" 5'
replace='$as_echo "computing EOF failed" "$LINENO" >\&5'
# echo $replace
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
find='as_fn_error "computing SEEK_CUR failed" "$LINENO" 5'
replace='$as_echo "computing SEEK_CUR failed" "$LINENO" >\&5'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
find='as_fn_error "computing SEEK_END failed" "$LINENO" 5'
replace='$as_echo "computing SEEK_END failed" "$LINENO" >\&5'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
# patch for the void, int, short and long
# because autoconf can't set them
find='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void \*))" "ac_cv_sizeof_void_p" "$ac_includes_default"'
replace='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void \*))" "ac_cv_sizeof_void_p"'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
find='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"'
replace='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
find='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"'
replace='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
find='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"'
replace='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
find='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"'
replace='if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"'
sed -i -e 's/'"$find"'/'"$replace"'/g' $CONFIGURE
touch build-gcc-started
cd build-gcc
../$GCCC/configure --target=$TARGET --prefix=$PREFIX --without-headers \
--enable-languages="c,c++,lto" --enable-poison-system-directories \
--enable-lto --with-newlib --enable-long-long $ICONV \
--with-dwarf2 --enable-interwork --enable-tls --enable-multilib \
--disable-hosted-libstdcxx --disable-libstdcxx-pch --disable-sjlj-exceptions \
--disable-option-checking --disable-threads --disable-nls \
--disable-win32-registry --disable-libssp --disable-shared \
--enable-wchar_t --enable-extra-sgxxlite-multilibs --enable-c99
# --with-sysroot
# Ugly hack for:
# D:\MinGW\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 0
# I hope this enough :-)
# use -k because build libstdc++ expectable failes
# but libsupc and other stuff should be installed!
make $MAKEJOBS -k 2> make-gcc.log
touch first-make-call
make $MAKEJOBS -k 2>> make-gcc.log
make $MAKEJOBS -k 2>> make-gcc.log
# make $MAKEJOBS -k 2>> make-gcc.log
# make $MAKEJOBS -k 2>> make-gcc.log
make -k install-strip
cd ..
touch build-gcc-finished
echo "Bulding gcc finished"
--
Отправлено из myMail для Android воскресенье, 06 сентября 2020г., 19:10 +03:00 от Dennis Clarke via Gcc-help  gcc-help@gcc.gnu.org :

>On 9/6/20 5:06 AM,  fedor_qd@mail.ru wrote:
>
> Hi! I asked several days ago and nobody answers. Any idea?
>
>What did you use for "configure" and what were the results of that
>configure command?
>
>What operating system?
>
>What architecture?
>
>What were the env var setup at the time?  CFLAGS?  CPPFLAGS?  etc ?
>
>
>
>
>-- 
>Dennis Clarke
>RISC-V/SPARC/PPC/ARM/CISC
>UNIX and Linux spoken
>GreyBeard and suspenders optional

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-06 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 10:15 make fails to build libgcc Fiodar
2020-09-06  9:06 ` fedor_qd
2020-09-06 16:10   ` Dennis Clarke
2020-09-06 21:27     ` Re[2]: " fedor_qd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).