Skip to content
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

CMOS-177 Use -tags netgo for cgo builds #119

Merged
merged 1 commit into from Nov 23, 2021
Merged

CMOS-177 Use -tags netgo for cgo builds #119

merged 1 commit into from Nov 23, 2021

Conversation

markspolakovs
Copy link
Contributor

I observed a segfault in the cluster monitor, which was reported on the Go issue tracker (golang/go#30310 (comment)). This appears to be caused by using cgo with -extldflags "-static" without -tags netgo. This commit changes all our Cgo enabled components to be built with -tags netgo.

I observed a segfault in the cluster monitor, which was reported on the Go issue tracker (golang/go#30310 (comment)). This appears to be caused by using cgo with `-extldflags "-static"` without `-tags netgo`. This commit changes all our Cgo enabled components to be built with `-tags netgo`.
@redm2
Copy link
Contributor

redm2 commented Nov 23, 2021

+1

@markspolakovs markspolakovs merged commit c161d7b into main Nov 23, 2021
@markspolakovs markspolakovs deleted the CMOS-177 branch November 23, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants