-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass the netgo tag when building static binaries #1038
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for fixing this! verified fix while pairing with @cyli
@@ -2,6 +2,7 @@ | |||
|
|||
## [v0.5.1](https://github.com/docker/notary/releases/tag/v0.5.1) 11/14/2016 | |||
+ If no `records` parameter is provided in a request for the changefeed, a default value of 100 is used. | |||
+ Fix build tags for static notary client binaries in linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking nit: can we add this PR number to the changelog? I think we forgot to do it for the previous entry as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah right, will do
- When building static binaries with CGO, cgo unix network segfaults - When building dynamically linked binaries with CGO, everything is fine - When building static binaries with CGO but with -tags netgo passed, everything is fine So update our cross and static builds to include netgo. prometheus/alertmanager#304 golang/go#7857 Signed-off-by: Ying Li <[email protected]>
8259514
to
05dbc1c
Compare
Have filed golang/go#17935 to see if it's an issue in go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Superseded by #1072 |
So add the netgo tag when building static binaries.
prometheus/alertmanager#304
golang/go#7857