Re: juju bootstrap w/ gccgo built cli and tools

2013-12-05 Thread David Cheney
On Fri, Dec 6, 2013 at 3:39 PM, John Arbash Meinel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 2013-12-06 6:24, David Cheney wrote: >> Ok, good news first. >> >> gccgo compiled tools work fine. >> >> statically linking libgo also makes the tools as self contained as >> our gc c

Re: juju bootstrap w/ gccgo built cli and tools

2013-12-05 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-12-06 6:24, David Cheney wrote: > Ok, good news first. > > gccgo compiled tools work fine. > > statically linking libgo also makes the tools as self contained as > our gc compiled ones. > > Bad news, > > jujud is 40mb, -Os or -O2 effect, in

Re: juju bootstrap w/ gccgo built cli and tools

2013-12-05 Thread David Cheney
Ok, good news first. gccgo compiled tools work fine. statically linking libgo also makes the tools as self contained as our gc compiled ones. Bad news, jujud is 40mb, -Os or -O2 effect, in fact the latter makes it a bit larger the binaries cannot be stripped, the debug data is required for ope

Re: juju bootstrap w/ gccgo built cli and tools

2013-12-04 Thread Andrew Wilkins
On Thu, Dec 5, 2013 at 2:37 PM, David Cheney wrote: > On Thu, Dec 5, 2013 at 5:32 PM, John Meinel > wrote: > > It sounds like we should be bundling the libgo.so into the tar.gz that we > > are building. Either statically (so we dont have to worry about system > skew) > > or just have it know to l

Re: juju bootstrap w/ gccgo built cli and tools

2013-12-04 Thread David Cheney
On Thu, Dec 5, 2013 at 5:32 PM, John Meinel wrote: > It sounds like we should be bundling the libgo.so into the tar.gz that we > are building. Either statically (so we dont have to worry about system skew) > or just have it know to load it in the same dir as the executable. We > *could* try to use

Re: juju bootstrap w/ gccgo built cli and tools

2013-12-04 Thread John Meinel
It sounds like we should be bundling the libgo.so into the tar.gz that we are building. Either statically (so we dont have to worry about system skew) or just have it know to load it in the same dir as the executable. We *could* try to use a system lib, but then we're back into dealing with cross s

juju bootstrap w/ gccgo built cli and tools

2013-12-04 Thread David Cheney
Good news, everyone! We are --->this<--- close to getting a gccgo build juju working. lucky(~/src/launchpad.net/juju-core) % juju bootstrap -v --upload-tools verbose is deprecated with the current meaning, use show-log 2013-12-05 05:57:50 INFO juju.environs open.go:156 environment info already