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
Makefiles: Disable CGO globally #10724
Conversation
test-me-please |
I guess we use it for proxylib, will need to fix that up.. |
66addcd
to
4b03a76
Compare
test-me-please Edit: Kafka flakes; fix has been merged: #10721 |
test-me-please |
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.
I think you'll need to drop CGO_ENABLED=0
from the go vet
commands for proxylib
. See the Travis CI failure.
4b03a76
to
ef582ad
Compare
test-me-please |
Oh, originally I thought it was go vet but it looks like it's actually the go tests in the proxylib directory. |
ef582ad
to
0c7f9df
Compare
test-me-please |
Plenty of scary-looking failures in CI, will need to investigate further: |
CGo is not necessary for any Cilium binaries, and with the new docs builder image it's causing build issues like the following: GEN Documentation/cmdref Error relocating /src/cilium/cilium: __vfprintf_chk: symbol not found Error relocating /src/cilium/cilium: __fprintf_chk: symbol not found Fix this by just disabling it for all targets that use $GO. Signed-off-by: Joe Stringer <joe@cilium.io>
0c7f9df
to
5a264bc
Compare
test-me-please EDIT: Only one of the kernel builds failed, due to flake #10821 which looks like infrastructure issue. |
CGo is not necessary for any Cilium binaries (only proxylib), and with
the new docs builder image it's causing build issues like the following
on master for some developers:
Fix this by just disabling it for all targets that use $GO.