Re: [go-nuts] SIGILL running 1.14 on macOS

2020-03-17 Thread David Riley
On Feb 26, 2020, at 2:00 PM, James Pettyjohn  wrote:
> 
> A little further digging shows that VZEROUPPER is part of the AVX instruction 
> set, not supported on any Apple computers prior to 2011 from what I can tell.
> 
> Given the rc1 code worked fine, that could be an alternative for Darwin where 
> the CPU does not support AVX. While not ideal, I'd argue it's better than 
> cutting off support for these machines which can run High Sierra. Once 
> support for High Sierra is dropped then it should not matter as it takes a 
> 2013 or later model to run anything after High Sierra.

There are quite a lot of extant machines running Nehalem-generation Xeons 
(55/56xx) and routers running older Atoms that don't support AVX. I had a 
similar problem with the Suricata package for OpenBSD.


- Dave

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/08181A18-07F3-4BF5-8E12-4D661170C17B%40gmail.com.


[go-nuts] SIGILL running 1.14 on macOS

2020-02-26 Thread James Pettyjohn
I am trying to run go1.14 on macOS 10.13.2 with on a late 2009 iMac with an 
i7 but always get the same crash:


SIGILL: illegal instruction
PC=0x1066040 m=0 sigcode=1


goroutine 1 [running, locked to thread]:
runtime.asyncPreempt()
/usr/local/go/src/runtime/preempt_amd64.s:8 fp=0xc58ef0 sp=
0xc58ee8 pc=0x1066040
fmt.init()
/usr/local/go/src/fmt/scan.go:465 fp=0xc58ef8 sp=0xc58ef0 pc
=0x10e6540
runtime.doInit(0x1a80520)
/usr/local/go/src/runtime/proc.go:5414 +0x8a fp=0xc58f28 sp=
0xc58ef8 pc=0x1043aca
runtime.doInit(0x1a80ec0)
/usr/local/go/src/runtime/proc.go:5409 +0x57 fp=0xc58f58 sp=
0xc58f28 pc=0x1043a97
runtime.doInit(0x1a850c0)
/usr/local/go/src/runtime/proc.go:5409 +0x57 fp=0xc58f88 sp=
0xc58f58 pc=0x1043a97
runtime.main()
/usr/local/go/src/runtime/proc.go:190 +0x1ce fp=0xc58fe0 sp=
0xc58f88 pc=0x103702e
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1373 +0x1 fp=0xc58fe8 sp=
0xc58fe0 pc=0x10647d1


rax0x1a80520
rbx0xb
rcx0x0
rdx0x1a80578
rdi0xcb2020
rsi0x10e6540
rbp0xc58f18
rsp0xc58ee8
r8 0x3277901
r9 0x203000
r100x8
r110x55
r120x1
r130x55
r140x171acac
r150x38
rip0x1066040
rflags 0x10202
cs 0x2b
fs 0x0
gs 0x0


Which appears to be a call to VZEROUPPER in preempt_amd64.s 
.

This was not the case in rc1, which runs just fine. I get the same results 
from installing it with brew, .pkg and .tgz installs - have done the 
install from source yet.

Any tips would be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5fa8d757-9f5a-474c-9ae1-79deaff08d0a%40googlegroups.com.