https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88927

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Will try that.  That said, I don't understand why cpu_no_init.go isn't used in
that case.
Inthe build log I see
/usr/bin/mkdir -p internal; files=`echo ../../../libgo/go/internal/cpu/cpu.go
cpugen.go | sed -e 's/[^ ]*\.gox//g' -e 's/[^ ]*\.dep//'`; /bin/sh ./libtool
--tag GO --mode=compile
/builddir/build/BUILD/gcc-9.0.0-20190119/obj-armv7hl-redhat-linux-gnueabi/./gcc/gccgo
-B/builddir/build/BUILD/gcc-9.0.0-20190119/obj-armv7hl-redhat-linux-gnueabi/./gcc/
-B/usr/armv7hl-redhat-linux-gnueabi/bin/
-B/usr/armv7hl-redhat-linux-gnueabi/lib/ -isystem
/usr/armv7hl-redhat-linux-gnueabi/include -isystem
/usr/armv7hl-redhat-linux-gnueabi/sys-include       -O2 -g -I . -c
-fgo-pkgpath=`echo internal/cpu.lo | sed -e 's/.lo$//'`  -o internal/cpu.lo
$files
but if I run by hand (on x86_64-linux):
../../../libgo/match.sh --goarch=arm --goos=linux
--srcdir=../../../libgo/go/internal/cpu --extrafiles="cpugen.go"
../../../libgo/go/internal/cpu/cpu.go
../../../libgo/go/internal/cpu/cpu_no_init.go cpugen.go

Reply via email to