https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421
Bug ID: 81421 Summary: Circular runtime.s-gox -> runtime.lo dependency dropped -> objcopy: 'runtime.s-gox.tmp': No such file Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: mfe at live dot de CC: cmang at google dot com Target Milestone: --- the exact version of GCC: gcc-7.1.0 the system type: NetgearReadyNAS Duo (http://netgear.nas-central.org/wiki/Category:ReadyNasDUO) the options given when GCC was configured/built: configure CC=/opt/gcc-4.6/bin/gcc CXX=/opt/gcc-4.6/bin/g++ --enable-languages=c,c++,go --prefix=/opt/gcc-7.1 --with-cpu=v7 --with-mpc=/usr/local --with-mpfr=/usr/local --with-gmp=/usr/local --with-isl=/usr/local/ --disable-libstdcxx-pch the complete command line that triggers the bug; /usr/local/bin/make the compiler output (error messages, warnings, etc.); [...] /bin/mkdir -p container; dir=`echo container/heap.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo container/heap.lo.dep | sed -e 's/.dep$//'` $files > container/heap.lo.dep.tmp; if ! cmp container/heap.lo.dep.tmp container/heap.lo.dep >/dev/null 2>/dev/null; then rm -f `echo container/heap.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f container/heap.lo.dep.tmp container/heap.lo.dep /bin/mkdir -p compress; dir=`echo compress/zlib.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo compress/zlib.lo.dep | sed -e 's/.dep$//'` $files > compress/zlib.lo.dep.tmp; if ! cmp compress/zlib.lo.dep.tmp compress/zlib.lo.dep >/dev/null 2>/dev/null; then rm -f `echo compress/zlib.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f compress/zlib.lo.dep.tmp compress/zlib.lo.dep /bin/mkdir -p compress; dir=`echo compress/lzw.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo compress/lzw.lo.dep | sed -e 's/.dep$//'` $files > compress/lzw.lo.dep.tmp; if ! cmp compress/lzw.lo.dep.tmp compress/lzw.lo.dep >/dev/null 2>/dev/null; then rm -f `echo compress/lzw.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f compress/lzw.lo.dep.tmp compress/lzw.lo.dep /bin/mkdir -p compress; dir=`echo compress/gzip.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo compress/gzip.lo.dep | sed -e 's/.dep$//'` $files > compress/gzip.lo.dep.tmp; if ! cmp compress/gzip.lo.dep.tmp compress/gzip.lo.dep >/dev/null 2>/dev/null; then rm -f `echo compress/gzip.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f compress/gzip.lo.dep.tmp compress/gzip.lo.dep /bin/mkdir -p compress; dir=`echo compress/flate.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo compress/flate.lo.dep | sed -e 's/.dep$//'` $files > compress/flate.lo.dep.tmp; if ! cmp compress/flate.lo.dep.tmp compress/flate.lo.dep >/dev/null 2>/dev/null; then rm -f `echo compress/flate.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f compress/flate.lo.dep.tmp compress/flate.lo.dep /bin/mkdir -p compress; dir=`echo compress/bzip2.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo compress/bzip2.lo.dep | sed -e 's/.dep$//'` $files > compress/bzip2.lo.dep.tmp; if ! cmp compress/bzip2.lo.dep.tmp compress/bzip2.lo.dep >/dev/null 2>/dev/null; then rm -f `echo compress/bzip2.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f compress/bzip2.lo.dep.tmp compress/bzip2.lo.dep /bin/mkdir -p cmd/internal; dir=`echo cmd/internal/browser.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo cmd/internal/browser.lo.dep | sed -e 's/.dep$//'` $files > cmd/internal/browser.lo.dep.tmp; if ! cmp cmd/internal/browser.lo.dep.tmp cmd/internal/browser.lo.dep >/dev/null 2>/dev/null; then rm -f `echo cmd/internal/browser.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f cmd/internal/browser.lo.dep.tmp cmd/internal/browser.lo.dep /bin/mkdir -p .; dir=`echo bytes.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo bytes.lo.dep | sed -e 's/.dep$//'` $files > bytes.lo.dep.tmp; if ! cmp bytes.lo.dep.tmp bytes.lo.dep >/dev/null 2>/dev/null; then rm -f `echo bytes.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f bytes.lo.dep.tmp bytes.lo.dep /bin/mkdir -p .; dir=`echo bufio.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo bufio.lo.dep | sed -e 's/.dep$//'` $files > bufio.lo.dep.tmp; if ! cmp bufio.lo.dep.tmp bufio.lo.dep >/dev/null 2>/dev/null; then rm -f `echo bufio.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f bufio.lo.dep.tmp bufio.lo.dep /bin/mkdir -p archive; dir=`echo archive/zip.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo archive/zip.lo.dep | sed -e 's/.dep$//'` $files > archive/zip.lo.dep.tmp; if ! cmp archive/zip.lo.dep.tmp archive/zip.lo.dep >/dev/null 2>/dev/null; then rm -f `echo archive/zip.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f archive/zip.lo.dep.tmp archive/zip.lo.dep /bin/mkdir -p archive; dir=`echo archive/tar.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh ../../../gcc-7.1.0/libgo/match.sh --goarch=sparc --goos=linux --srcdir=../../../gcc-7.1.0/libgo/go/$dir --extrafiles="" `; /bin/sh ../../../gcc-7.1.0/libgo/godeps.sh `echo archive/tar.lo.dep | sed -e 's/.dep$//'` $files > archive/tar.lo.dep.tmp; if ! cmp archive/tar.lo.dep.tmp archive/tar.lo.dep >/dev/null 2>/dev/null; then rm -f `echo archive/tar.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f archive/tar.lo.dep.tmp archive/tar.lo.dep /usr/local/bin/make "AR_FLAGS=rc" "CC_FOR_BUILD=/opt/gcc-4.6/bin/gcc" "CC_FOR_TARGET=/media/gcc-7.1-compiled/./gcc/xgcc -B/media/gcc-7.1-compiled/./gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2 -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2" "GOC_FOR_TARGET=/media/gcc-7.1-compiled/./gcc/gccgo -B/media/gcc-7.1-compiled/./gcc/" "GOC=/media/gcc-7.1-compiled/./gcc/gccgo -B/media/gcc-7.1-compiled/./gcc/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/lib/ -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/include -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/sys-include " "GOCFLAGS=-O2 -g" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-g -O2" "LIBCFLAGS_FOR_TARGET=-g -O2" "MAKE=/usr/local/bin/make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/opt/gcc-7.1" "infodir=/opt/gcc-7.1/share/info" "libdir=/opt/gcc-7.1/lib" "includedir=/opt/gcc-7.1/include" "prefix=/opt/gcc-7.1" "tooldir=/opt/gcc-7.1/sparc-unknown-linux-gnu" "gxx_include_dir=" "AR=ar" "AS=/media/gcc-7.1-compiled/./gcc/as" "LD=/media/gcc-7.1-compiled/./gcc/collect-ld" "RANLIB=ranlib" "NM=/media/gcc-7.1-compiled/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=nm" "DESTDIR=" "WERROR=-Werror" all-recursive make[3]: Entering directory '/c/media/gcc-7.1-compiled/sparc-unknown-linux-gnu/libgo' make[4]: Entering directory '/c/media/gcc-7.1-compiled/sparc-unknown-linux-gnu/libgo' /bin/mkdir -p .; files=`echo ../../../gcc-7.1.0/libgo/go/errors/errors.go | sed -e 's/[^ ]*\.gox//g' -e 's/[^ ]*\.dep//'`; /bin/sh ./libtool --tag GO --mode=compile /media/gcc-7.1-compiled/./gcc/gccgo -B/media/gcc-7.1-compiled/./gcc/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/lib/ -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/include -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/sys-include -O2 -g -I . -c -fgo-pkgpath=`echo errors.lo | sed -e 's/.lo$//'` -o errors.lo $files libtool: compile: /media/gcc-7.1-compiled/./gcc/gccgo -B/media/gcc-7.1-compiled/./gcc/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/lib/ -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/include -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/sys-include -O2 -g -I . -c -fgo-pkgpath=errors ../../../gcc-7.1.0/libgo/go/errors/errors.go -fPIC -o .libs/errors.o libtool: compile: /media/gcc-7.1-compiled/./gcc/gccgo -B/media/gcc-7.1-compiled/./gcc/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/bin/ -B/opt/gcc-7.1/sparc-unknown-linux-gnu/lib/ -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/include -isystem /opt/gcc-7.1/sparc-unknown-linux-gnu/sys-include -O2 -g -I . -c -fgo-pkgpath=errors ../../../gcc-7.1.0/libgo/go/errors/errors.go -o errors.o >/dev/null 2>&1 f=`echo errors.lo | sed -e 's/.lo$/.o/'`; objcopy -j .go_export $f errors.s-gox.tmp; /bin/sh ../../../gcc-7.1.0/libgo/mvifdiff.sh errors.s-gox.tmp `echo errors.s-gox | sed -e 's/s-gox/gox/'` echo timestamp > errors.s-gox make[4]: Circular runtime.s-gox <- runtime.lo dependency dropped. f=`echo | sed -e 's/.lo$/.o/'`; objcopy -j .go_export $f runtime.s-gox.tmp; /bin/sh ../../../gcc-7.1.0/libgo/mvifdiff.sh runtime.s-gox.tmp `echo runtime.s-gox | sed -e 's/s-gox/gox/'` objcopy: 'runtime.s-gox.tmp': No such file mv: cannot stat `runtime.s-gox.tmp': No such file or directory make[4]: *** [Makefile:3331: runtime.s-gox] Error 1 make[4]: Leaving directory '/c/media/gcc-7.1-compiled/sparc-unknown-linux-gnu/libgo' make[3]: *** [Makefile:2746: all-recursive] Error 1 make[3]: Leaving directory '/c/media/gcc-7.1-compiled/sparc-unknown-linux-gnu/libgo' make[2]: *** [Makefile:1344: all] Error 2 make[2]: Leaving directory '/c/media/gcc-7.1-compiled/sparc-unknown-linux-gnu/libgo' make[1]: *** [Makefile:20030: all-target-libgo] Error 2 make[1]: Leaving directory '/c/media/gcc-7.1-compiled' make: *** [Makefile:934: all] Error 2 nas-02-90-38:/media/gcc-7.1-compiled# If you need further information - let me know.