: rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 2 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 3 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 hart : 4 isa : rv64imafdc mmu : sv39 uarch : sifive,rocket0 + cat /proc/meminfo MemTotal: 8183468 kB MemFree: 6440488 kB MemAvailable: 7958944 kB Buffers: 239216 kB Cached: 1277920 kB SwapCached: 252 kB Active: 825020 kB Inactive: 768556 kB Active(anon): 53576 kB Inactive(anon): 45672 kB Active(file): 771444 kB Inactive(file): 722884 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 6472356 kB SwapFree: 6471332 kB Dirty: 241428 kB Writeback: 0 kB AnonPages: 76076 kB Mapped: 71060 kB Shmem: 22884 kB Slab: 133136 kB SReclaimable: 115144 kB SUnreclaim: 17992 kB KernelStack: 792 kB PageTables: 1324 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 10564088 kB Committed_AS: 247056 kB VmallocTotal: 67108863 kB VmallocUsed: 0 kB VmallocChunk: 0 kB ~/build/BUILD/go/src ~/build/BUILD/go + export GOROOT_BOOTSTRAP=/ + GOROOT_BOOTSTRAP=/ + export GOROOT_FINAL=/usr/lib/golang + GOROOT_FINAL=/usr/lib/golang + export GOHOSTOS=linux + GOHOSTOS=linux + export GOHOSTARCH=riscv64 + GOHOSTARCH=riscv64 + pushd src + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export CC=gcc + CC=gcc + export CC_FOR_TARGET=gcc + CC_FOR_TARGET=gcc + export GOOS=linux + GOOS=linux + export GOARCH=riscv64 + GOARCH=riscv64 + export CGO_ENABLED=0 + CGO_ENABLED=0 + ./make.bash --no-clean -v Building Go cmd/dist using /. (go1.14rc1 gccgo (GCC) 10.0.1 20200216 (Red Hat 10.0.1-0.8) linux/riscv64) BUILDSTDERR: # _/builddir/build/BUILD/go/src/cmd/dist BUILDSTDERR: cmd/dist/build.go:146:6: error: reference to undefined name 'cansse2' BUILDSTDERR: 146 | if cansse2() { BUILDSTDERR: | ^ BUILDSTDERR: cmd/dist/main.go:52:3: error: reference to undefined name 'useARMv6K' BUILDSTDERR: 52 | useARMv6K() // might fail with SIGILL BUILDSTDERR: | ^ BUILDSTDERR: cmd/dist/main.go:144:3: error: reference to undefined name 'useVFPv1' BUILDSTDERR: 144 | useVFPv1() // might fail with SIGILL BUILDSTDERR: | ^ BUILDSTDERR: cmd/dist/main.go:146:3: error: reference to undefined name 'useVFPv3' BUILDSTDERR: 146 | useVFPv3() // might fail with SIGILL BUILDSTDERR: | ^ RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.aU6nnw (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.aU6nnw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang.spec