tried make after installing Go (go version go1.10.3 linux/amd64) and setting all go env variables .I am using debina 9 on aws t2 micro instance.
Could u suggest what could I missing or is there a bug in make ?
go build -ldflags "-s -w" -o heplify *.go
# runtime/internal/atomic
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:14:24: Load redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:13:24
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:20:32: Loadp redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:19:32
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:32:26: Load64 redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:25:26
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:38:37: Xadd redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:30:37
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:46:39: Xadd64 redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:33:39
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:54:47: Xadduintptr redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:36:47
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:62:36: Xchg redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:39:36
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:70:38: Xchg64 redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:42:38
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:78:45: Xchguintptr redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:45:45
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:86:27: And8 redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/atomic/atomic_amd64x.go:48:27
/usr/local/go/src/runtime/internal/atomic/atomic_wasm.go:86:27: too many errors
# runtime/internal/sys
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:8:24: ArchFamily redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:8:24
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:8:24: undefined: WASM
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:9:24: BigEndian redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:9:24
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:10:24: DefaultPhysPageSize redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:11:24
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:11:24: PCQuantum redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:12:24
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:12:24: Int64Align redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:13:24
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:13:24: HugePageSize redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:14:29
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:14:24: MinFrameSize redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:15:24
/usr/local/go/src/runtime/internal/sys/arch_wasm.go:17:6: Uintreg redeclared in this block
previous declaration at /usr/local/go/src/runtime/internal/sys/arch_amd64.go:18:6
# math
/usr/local/go/src/math/trig_reduce.go:42:13: undefined: bits.Mul64
/usr/local/go/src/math/trig_reduce.go:43:16: undefined: bits.Mul64
/usr/local/go/src/math/trig_reduce.go:45:11: undefined: bits.Add64
/usr/local/go/src/math/trig_reduce.go:46:11: undefined: bits.Add64
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 2
tried make after installing Go (go version go1.10.3 linux/amd64) and setting all go env variables .I am using debina 9 on aws t2 micro instance. Could u suggest what could I missing or is there a bug in make ?