@fabio whats your xcode version? Im on 8.3.2 and not being offered anything new atm.
On Tue, Apr 25, 2017 at 11:47 AM, Fabio Utzig <ut...@utzig.org> wrote: > I had the issue with 1.8 too, but now with 1.8.1 it seems to be fixed. > > PS: a new xcode update came out yesterday which might also be what fixed > the issue for me... > > On Tue, Apr 25, 2017, at 03:28 PM, marko kiiskila wrote: > > This happens on my setup as well. > > And passing "-ldflags -s” at go build fixes it. > > > > My golang version is: > > go version go1.8 darwin/amd64 > > > > > On Apr 23, 2017, at 4:34 PM, Jacob Rosenthal <jakerosent...@gmail.com> > wrote: > > > > > > Looks like xcode 8.3.x breaks newtmgr with "newtmgr Killed: 9" > > > > > > Confirmed fix seems to be just using -ldflags -s on either go build or > go install > > > https://github.com/golang/go/issues/19734 > > > > > > Further when I run I get "cgo argument has Go pointer to Go pointer" > > > Googling seems to indicate maybe it needs refactoring? > > > https://github.com/ry/v8worker/issues/31 > > > > > > Ive tried back to mynewt_1_0_0_b2_tag and it still happens so I think > its tied to again either xcode update or maybe a go point release? > > > > > > Jacobs-MacBook-Air:newtmgr jacobrosenthal$ go version > > > go version go1.7.5 darwin/amd64 > > > > > > My xcode is 8.3.2 > > > > > > But I can confirm the listed workaround is to use GODEBUG=cgocheck=0 > works but I get (possibly unrelated?) unhandled xpc events as well > > > > > > > > > Jacobs-MacBook-Air:newtmgr jacobrosenthal$ GODEBUG=cgocheck=0 newtmgr > -cble image list > > > 2017/04/23 16:28:31 Unhandled event: xpc.Dict{"kCBMsgId":81, > "kCBMsgArgs":xpc.Dict{"kCBMsgArgSupervisionTimeout":256, > "kCBMsgArgDeviceUUID":xpc.UUID{0x2f, 0xd, 0xcb, 0x60, 0xf, 0x3e, 0x47, > 0x52, 0xb7, 0x74, 0x13, 0x29, 0x3a, 0x3, 0xd4, 0xd0}, > "kCBMsgArgConnectionInterval":33, "kCBMsgArgConnectionLatency":0}} > > > 2017/04/23 16:28:31 Unhandled event: xpc.Dict{"kCBMsgId":53, > "kCBMsgArgs":xpc.Dict{"kCBMsgArgDeviceUUID":xpc.UUID{0x2f, 0xd, 0xcb, > 0x60, 0xf, 0x3e, 0x47, 0x52, 0xb7, 0x74, 0x13, 0x29, 0x3a, 0x3, 0xd4, > 0xd0}, "kCBMsgArgATTMTU":104}} > > > Images: > > > slot=0 > > > version: 0.0.0 > > > bootable: true > > > flags: active confirmed > > > hash: 22b68129ed7a43bf8b363974f184ea185bec0925a33ec701733148efa52f > 1512 > > > slot=1 > > > version: 0.0.0 > > > bootable: false > > > flags: > > > hash: b10f6c890e775cf8a07ccc258513c38ba471f6c335ea2ad60e4978ba35fb > 843b > > > Split status: matching > > > Jacobs-MacBook-Air:newtmgr jacobrosenthal$ > > > > > > > > > > > > <newtmgr cgo argument has Go pointer to Go pointer.txt> > > >