Re: [go-nuts] Increase speed of repeated builds

2016-08-11 Thread Michael Hudson-Doyle
On 12 August 2016 at 15:01, James Pettyjohn wrote: > I have a project which has become fairly large, I simple check of *.go, no > _test files (including all modules), it's up to 1300 files. > > The main module though is 60 files, about 1MB of go source. It is taking to >

Re: [go-nuts] Go 1.7 is released

2016-08-16 Thread Michael Hudson-Doyle
On 17 August 2016 at 08:31, Dave Cheney wrote: > Stripping go binaries is not tested and known to produce broken binaries. Stripping should be fine, and any problems produced by it should be reported as bugs. Please. > I recommend not doing this until strip/upx/whatever are

Re: [go-nuts] go executable cross-compiled for arm5 works on amd64 (and arm5)

2017-02-16 Thread Michael Hudson-Doyle
Do you have qemu-user-static or a similarly named package installed? Then the magic of binfmt_misc may be invoking it. For me: $ cat /proc/sys/fs/binfmt_misc/qemu-arm enabled interpreter /usr/bin/qemu-arm-static flags: OC offset 0 magic 7f454c460101010002002800 mask

Re: [go-nuts] What 5 things does Go need in 2017?

2016-09-12 Thread Michael Hudson-Doyle
On 12 September 2016 at 21:53, Dave Cheney wrote: > Ubuntu 12.04 LTS ships with Go 1.0. > Ubuntu 14.04 LTS ships with Go 1.2 > Ubuntu 16.04 LTS ships with Go 1.6 (I hope) > Yeah, 1.6 got into 16.04. > None of the LTS versions of Ubuntu ship with a supporter version of Go. >

Re: [go-nuts] Cross-compilation of golang assembly via 'go tool asm'

2016-09-12 Thread Michael Hudson-Doyle
On 13 September 2016 at 13:43, wrote: > I'm implementing cross-compilation support in rules_go > . This takes a low-level > approach to building golang targets that involves use of the individual > toolchain components such as 'go tool

Re: [go-nuts] ARM Cortex-R52 real time chip announced today

2016-09-21 Thread Michael Hudson-Doyle
On 22 September 2016 at 05:54, Ian Lance Taylor wrote: > On Wed, Sep 21, 2016 at 7:16 AM, Ged Wed wrote: > > > > Today ARM announced a new real time chip for cars. > > > > http://www.anandtech.com/show/10690/arm-announces-the- >

Re: [go-nuts] Go 1.7.3 is released

2016-10-19 Thread Michael Hudson-Doyle
That's https://github.com/golang/go/issues/17276, which if I'd been paying a bit more attention I'd have suggested go into 1.7.3 :( It's not an indicator of a real problem fortunately. Cheers, mwh On 20 October 2016 at 09:10, Jan Mercl <0xj...@gmail.com> wrote: > On Wed, Oct 19, 2016 at 9:45 PM

Re: [go-nuts] Any reason make.bash does not allow you to pass asmflags?

2016-10-18 Thread Michael Hudson-Doyle
On 19 October 2016 at 07:53, Parker Evans wrote: > I was recently playing around with the assembler and compiler -trimpath > option to remove build machine prefixes from the built from source > toolchain and I realized that make.bash allows you to pass gcflags via the >

Re: [go-nuts] GoLang assembly support shifted operands?

2016-11-14 Thread Michael Hudson-Doyle
It doesn't look like they're supported on arm64 though. File a bug? Cheers, mwh > On 15 November 2016 at 06:26, Rob Pike wrote: > They are supported. Please read the ARM section of golang.org/doc/asm.html > to see the syntax. > > > On Sunday, November 13, 2016,

Re: [go-nuts] Re: About 64bits alignment

2017-03-28 Thread Michael Hudson-Doyle
On 29 March 2017 at 04:44, T L wrote: > > > On Thursday, February 2, 2017 at 12:03:59 AM UTC+8, T L wrote: >> >> the sync/atomic docs, https://golang.org/pkg/sync/atomic/, says in the >> end of the docs >> >> >> On x86-32, the 64-bit functions use instructions unavailable

Re: [go-nuts] Set LD_LIBRARY_PATH while executing go test

2017-06-19 Thread Michael Hudson-Doyle
On 16 June 2017 at 17:46, wrote: > Hello, > > Is there a way to set the LD_LIBRARY_PATH while executing go test command? > > My version is "go version go1.5.1 linux/amd64" > No. Why do you want to? You can set the rpath of the generated executable with something like "go

[go-nuts] Re: [golang-dev] Go 1.9 Beta 1 is released

2017-06-14 Thread Michael Hudson-Doyle
I'm curious how you built your binaries with https://github.com/golang/go/issues/20284 still open. Do you not run the tests on the built binaries before packing them up? On 15 June 2017 at 10:15, Chris Broadfoot wrote: > Hello gophers, > > We have just released go1.9beta1, a

Re: [go-nuts] Re: [golang-dev] Go 1.9 Beta 1 is released

2017-06-14 Thread Michael Hudson-Doyle
Do you use -skip_tests though? Because I'd be surprised if you don't and don't hit that issue. But maybe I'm missing something. On 15 June 2017 at 13:35, Brad Fitzpatrick <bradf...@golang.org> wrote: > We use golang.org/x/build/cmd/release > > > On Wed, Jun 14, 2017 at 6:32

[go-nuts] Re: [golang-dev] Subject: Go 1.9.2 and Go 1.8.5 are released

2017-10-29 Thread Michael Hudson-Doyle
release is. I notice that the signing key doesn't appear to be in the strong set, are you planning to get it more signatures? Cheers, mwh > On Oct 25, 2017 7:58 PM, "Michael Hudson-Doyle" < > michael.hud...@canonical.com> wrote: > >> I've updated my snaps with bo

[go-nuts] Re: [golang-dev] Subject: Go 1.9.2 and Go 1.8.5 are released

2017-10-25 Thread Michael Hudson-Doyle
I've updated my snaps with both these releases, so users with the snap already installed should get them soon, or snap install --classic --channel 1.9/stable go on an ubuntu or ubuntu-like system if you want to try them out :) Cheers, mwh On 26 October 2017 at 12:51, Chris Broadfoot