projectcontour / contour

Contour is a Kubernetes ingress controller using Envoy proxy.
https://projectcontour.io
Apache License 2.0
3.67k stars 667 forks source link

Supporting gollvm (llvm-goc) builds, for Contour #2932

Closed advancedwebdeveloper closed 4 months ago

advancedwebdeveloper commented 3 years ago

Wanted to open an issue, to cross-reference bugs, during the build process.

I am dealing with https://go.googlesource.com/gollvm/, these days - and Contour appear to be compiling well, compared to k8s/Docker. Other Kubernetes related CNCF projects have various bugs, related to reflection - mainly cause of reflect2 package/dependency.

Ivan

youngnick commented 3 years ago

Thanks @advancedwebdeveloper! Is there any action you need from Contour at the moment? I'll add the blocked label for now until you have a chance to respond.

advancedwebdeveloper commented 3 years ago

@youngnick , as for what I was able to clarify https://github.com/json-iterator/go/issues/501 - there are two separate pipelines:

  1. To build all Go packages, using https://golang.org/pkg/reflect/ - you would have to ensure that no other alternatives (reflect2, goccy/go-reflect) are involved, and replace the code where needed
  2. Same as (1), but ensure/enforce https://github.com/goccy/go-reflect to be used for reflection

. Consider re-compiling all dependencies - and simply use the resulting binaries/static libraries/shared libraries in your existing tests.

If you are interested to try gollvm - you can start with some business intelligence, written in Golang, and running on VMWare's virtual infrastructure. I thought about extending https://github.com/advancedwebdeveloper/clang_test_cpu_features/tree/main/.github/workflows ( https://github.com/advancedwebdeveloper/clang_test_cpu_features/actions ), to add installation and benchmarking support. It was not started for AMD CPUs - but you can consider using specific servers.

youngnick commented 3 years ago

Thanks for the investigation @advancedwebdeveloper! I suspect that gollvm support is behind a few other issues in priority, but I'll check in with the other maintainers and see what they think.

github-actions[bot] commented 5 months ago

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

You can:

Please send feedback to the #contour channel in the Kubernetes Slack

github-actions[bot] commented 4 months ago

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

You can:

Please send feedback to the #contour channel in the Kubernetes Slack