https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104973
Bug ID: 104973 Summary: GCC 11.2.1 build failure with Go support (mv: cannot stat 'cpugen.o': No such file or directory) Product: gcc Version: 11.2.1 URL: https://bugs.gentoo.org/828439 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: sam at gentoo dot org CC: cmang at google dot com Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Build: x86_64-pc-linux-gnu Created attachment 52648 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52648&action=edit build.log.xz Initially reported downstream in Gentoo at https://bugs.gentoo.org/828439. ``` /bin/bash ../libtool --tag=CXX --mode=compile /var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127> libtool: compile: mv -f "cpugen.o" "internal/.libs/cpu.o" mv: cannot stat 'cpugen.o': No such file or directory make[4]: *** [Makefile:3001: internal/cpu.lo] Error 1 make[4]: Leaving directory '/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/x86_64-pc-linux-gnu/libgo' make[3]: *** [Makefile:2327: all-recursive] Error 1 libtool: compile: /var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/x86_64-pc-linux-gn> make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/x86_64-pc-linux-gnu/libgo' make[2]: *** [Makefile:1198: all] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-11.2.1_p20211127/work/build/x86_64-pc-linux-gnu/libgo' make[1]: *** [Makefile:21736: all-target-libgo] Error 2 make[1]: *** Waiting for unfinished jobs.... ``` Reported for both the 11.2.1 snapshots from 20211127 and 20220115. I don't see any relevant changes in git since those. I've attached the full (compressed) build.log which Dennis uploaded in the original Gentoo bug.