https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86535
--- Comment #10 from Curtis Hamilton <clhamilto at gmail dot com> --- Is it -fgo-dump-spec or -fdump-go-spec? Below is an extract of my build log: checking for hypotf... /usr/ports/lang/gcc7/work/.build/./gcc/xgcc -B/usr/ports/lang/gcc7/work/.build/./gcc/ -B/usr/local/powerpc64-portbld-freebsd11.2/bin/ -B/usr/local/powerpc64-portbld-freebsd11.2/lib/ -isystem /usr/local/powerpc64-portbld-freebsd11.2/include -isystem /usr/local/powerpc64-portbld-freebsd11.2/sys-include -DHAVE_CONFIG_H -I. -I/usr/ports/lang/gcc7/work/gcc-7.3.0/libgo -I /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/runtime -I/usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/../libffi/include -I../libffi/include -pthread -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -fdump-go-spec=tmp-gen-sysinfo.go -std=gnu99 -S -o sysinfo.s /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/sysinfo.c yes checking for hypot... rm -f sysinfo.s /bin/sh /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/mvifdiff.sh tmp-gen-sysinfo.go gen-sysinfo.go echo timestamp > s-gen-sysinfo rm -f libcalls.go.tmp /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/../install-sh -c -d runtime/internal; dir=`echo runtime/internal/sys.lo.dep | sed -e 's/.lo.dep$//'`; files=`/bin/sh /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/match.sh --goarch=ppc64 --goos=freebsd --srcdir=/usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/go/$dir --extrafiles="version.go" `; /bin/sh /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/godeps.sh `echo runtime/internal/sys.lo.dep | sed -e 's/.dep$//'` $files > runtime/internal/sys.lo.dep.tmp; if ! cmp runtime/internal/sys.lo.dep.tmp runtime/internal/sys.lo.dep >/dev/null 2>/dev/null; then rm -f `echo runtime/internal/sys.lo.dep | sed -e 's/\.dep$//'`; fi; mv -f runtime/internal/sys.lo.dep.tmp runtime/internal/sys.lo.dep /usr/bin/awk -f /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/go/syscall/mksyscall.awk `cat libcalls-list` > libcalls.go.tmp /bin/sh /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/mksysinfo.sh /bin/sh /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/mvifdiff.sh libcalls.go.tmp libcalls.go echo timestamp > s-libcalls /bin/sh /usr/ports/lang/gcc7/work/gcc-7.3.0/libgo/mkrsysinfo.sh