https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77977
Bug ID: 77977 Summary: stage3 bootstrap error in libgo on x86_64: cannot stat 'stubs.o' Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: msebor at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- When configured with --enable-languages=all,ada,c,c++,fortran,go,lto,objc,obj-c++ today's top of trunk (at r241131) fails to bootstrap on x86_64-linux with the error below. There is no other error earlier that I can see (this was a serial build, i.e., with -j1). make[8]: Entering directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/32/libgo' /usr/bin/mkdir -p runtime/internal; files=`echo /src/gcc/trunk/libgo/go/runtime/internal/atomic/gccgo.go /src/gcc/trunk/libgo/go/runtime/internal/atomic/stubs.go | sed -e 's/[^ ]*\.gox//g' -e 's/[^ ]*\.dep//'`; /bin/sh ./libtool --tag GO --mode=compile /home/msebor/build/gcc-trunk/./gcc/gccgo -B/home/msebor/build/gcc-trunk/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -minline-all-stringops -fno-split-stack -O2 -g -m32 -I . -c -fgo-pkgpath=`echo runtime/internal/atomic.lo | sed -e 's/.lo$//' -e 's/-go$//'` -fgo-compiling-runtime -o runtime/internal/atomic.lo $files libtool: compile: /home/msebor/build/gcc-trunk/./gcc/gccgo -B/home/msebor/build/gcc-trunk/./gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem /usr/local/x86_64-pc-linux-gnu/include -isystem /usr/local/x86_64-pc-linux-gnu/sys-include -minline-all-stringops -fno-split-stack -O2 -g -m32 -I . -c -fgo-pkgpath=runtime/internal/atomic -fgo-compiling-runtime /src/gcc/trunk/libgo/go/runtime/internal/atomic/gccgo.go /src/gcc/trunk/libgo/go/runtime/internal/atomic/stubs.go libtool: compile: mv -f "stubs.o" "runtime/internal/.libs/atomic.o" mv: cannot stat 'stubs.o': No such file or directory Makefile:4942: recipe for target 'runtime/internal/atomic.lo' failed make[8]: *** [runtime/internal/atomic.lo] Error 1 make[8]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/32/libgo' Makefile:3039: recipe for target 'all-recursive' failed make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/32/libgo' Makefile:1407: recipe for target 'all' failed make[6]: *** [all] Error 2 make[6]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/32/libgo' Makefile:5537: recipe for target 'multi-do' failed make[5]: *** [multi-do] Error 1 make[5]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/libgo' Makefile:2305: recipe for target 'all-multi' failed make[4]: *** [all-multi] Error 2 make[4]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/libgo' Makefile:3039: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/libgo' Makefile:1407: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/msebor/build/gcc-trunk/x86_64-pc-linux-gnu/libgo' Makefile:25608: recipe for target 'all-target-libgo' failed make[1]: *** [all-target-libgo] Error 2 make[1]: Leaving directory '/home/msebor/build/gcc-trunk' Makefile:29771: recipe for target 'bootstrap' failed make: *** [bootstrap] Error 2 make: Leaving directory '/home/msebor/build/gcc-trunk'