{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3392","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3392/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3392/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3392/events","html_url":"https://github.com/cockroachdb/cockroach/issues/3392","id":121555130,"number":3392,"title":"statically link everything but libc","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-10T19:05:19Z","updated_at":"2015-12-10T19:33:14Z","closed_at":null,"body":"Right now, we are statically linking everything, including libc. This forces us to use musl, because statically linking glibc is [insane](https://sourceware.org/bugzilla/show_bug.cgi?id=19341).\r\n\r\nWe would like to statically link everything but libc, so that we aren't forced to use such an exotic configuration. This may require us to rethink our current collection of `c-*` repositories so that we can use upstream build systems to build static binaries which we link against, while letting the `go` tool dynamically link everything else (which we hope is just libc)."},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/163727234","html_url":"https://github.com/cockroachdb/cockroach/issues/3392#issuecomment-163727234","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/3392","id":163727234,"user":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T19:33:14Z","updated_at":"2015-12-10T19:33:14Z","body":"Eh, `c-rocksdb` is not linked dynamically into my cockroach binaries on Mac OS X. Does this differ on Linux?"}}