-
Committer:
Casey Marshall
-
Date:
2014-01-20 19:06:58 UTC
-
Revision ID:
cmars@cmarstech.com-20140120190658-i4y9fbh3q85lsigq
Remove golang-go build dependency.
Standalone unit test suite leverages entrypoint from stdlib.
Compiling statically to work around two gccgo bugs I've found on saucy amd64:
1. Compiling without debug symbols crashes dynamically linked executable:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57194
2. Compiling with debug symbols, pollen SIGSEGVs in my development environment
(Ubuntu 13.10, amd64). The stack trace is very similar to:
https://groups.google.com/forum/#!topic/golang-nuts/hSEBs6Blo8U
The root cause is likely gcc needing this patch:
http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01445.html
You'll get a warning when compiling with -static, but pollen doesn't
need to perform hostname-IP lookups so IMO it's ok to ignore it.