[go-nuts] SIGILL: illegal instruction when making cgo call

2017-11-01 Thread martin . ostrovsky
Hello, Encountered this issue running a statically compiled binary that uses cgo (Compiled using go1.8.3). It works OK on one CPU type but not on another. The binary is built on a server which is neither of the two below. Is this a Go issue or something to do with how the C library is built (gc

[go-nuts] Re: Full Time Job Opportunity at Mattel: Remote inside US OK

2017-08-15 Thread martin . ostrovsky
I'm not interested in the job but just wanted to say this is one of the best job postings I've ever read. On Tuesday, August 15, 2017 at 10:54:22 AM UTC-4, Nate Finch wrote: > > Mattel (yes the toy company) is hiring full time Go devs to work on its > IoT & identity server platform. Remote is O

[go-nuts] Issue building binaries using cgo on macOS Sierra 10.12.4

2017-03-28 Thread martin . ostrovsky
Hello, Upgraded my mac to 10.12.4 yesterday, tried to run a binary built using go1.8. I immediately get Killed: 9 as output. The binary includes many C/C++ libraries via cgo but everything was fine under 10.12.3 I then built the binary using -ldflags -s and that was OK. I saw a similar issue