now for some good news

David Cheney david.cheney at canonical.com
Tue May 14 05:22:16 UTC 2013


on linux/amd64 at least, gccgo appears to compile juju just fine

lucky(~/src/launchpad.net/juju-core) % time go build -compiler gccgo ./...
# launchpad.net/goyaml
/tmp/go-build331853455/launchpad.net/goyaml/_obj/_cgo_defun.c:1:0:
warning: ignoring #pragma cgo_ldflag  [-Wunknown-pragmas]
/tmp/go-build331853455/launchpad.net/goyaml/_obj/_cgo_defun.c:2:0:
warning: ignoring #pragma cgo_ldflag  [-Wunknown-pragmas]
# launchpad.net/goyaml
../goyaml/helpers.c: In function ‘set_output_handler’:
../goyaml/helpers.c:17:55: error: ‘outputHandler’ undeclared (first use
in this function)
../goyaml/helpers.c:17:55: note: each undeclared identifier is reported
only once for each function it appears in

real    0m6.230s
user    0m18.948s
sys     0m0.940s
lucky(~/src/launchpad.net/juju-core) % time go build ./...
# launchpad.net/goyaml
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_alias’:
decode.go:34:7: warning: assignment from incompatible pointer type
[enabled by default]
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_mapping_start’:
decode.go:44:7: warning: assignment from incompatible pointer type
[enabled by default]
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_scalar’:
decode.go:54:7: warning: assignment from incompatible pointer type
[enabled by default]
decode.go: In function ‘_cgo_b6e5df461a3f_Cfunc_event_sequence_start’:
decode.go:64:7: warning: assignment from incompatible pointer type
[enabled by default]

real    0m8.190s
user    0m16.004s
sys     0m2.416s



More information about the Juju-dev mailing list