What version of Go are you using (go version)?
$ go version
1.13
Does this issue reproduce with the latest release?
Yes, it occurs when built with go 1.14 as well.
What operating system and processor architecture are you using (go env)?
go env Output
[user@redacted ~]# uname -a
Linux redacted 3.10.0-327.4.4.el7.ppc64 #1 SMP Thu Dec 17 15:52:21 EST 2015 ppc64 ppc64 ppc64 GNU/Linux
[user@redacted ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[user@redacted ~]# lscpu
Architecture: ppc64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Big Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 4
Core(s) per socket: 1
Socket(s): 2
NUMA node(s): 1
Model: IBM,8231-E1C
L1d cache: 32K
L1i cache: 32K
NUMA node0 CPU(s): 0-7
[root@pbul-rhel7-ppc64-01 ~]#
What did you do?
I built a minimal go binary on macOS Catalina cross-compiling to linux-ppc64 using https://github.com/trdyer/go-test-ppc64
My test platforms are: linux/amd64 solaris/amd64 darwin/amd64 linux/s390x aix/ppc64 linux/ppc64 linux/ppc64le
I scp'd the binary to the remote rhel7/ppc64 server and executed the program.
What did you expect to see?
The output should have said "whats going on!"
What did you see instead?
Illegal Instruction
As far as I can tell this is a POWER8 CPU that should be supported.
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes, it occurs when built with go 1.14 as well.
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
I built a minimal go binary on macOS Catalina cross-compiling to linux-ppc64 using https://github.com/trdyer/go-test-ppc64
My test platforms are: linux/amd64 solaris/amd64 darwin/amd64 linux/s390x aix/ppc64 linux/ppc64 linux/ppc64le
I scp'd the binary to the remote rhel7/ppc64 server and executed the program.
What did you expect to see?
The output should have said "whats going on!"
What did you see instead?
Illegal Instruction
As far as I can tell this is a POWER8 CPU that should be supported.