mirror of
https://github.com/kerberos-io/agent.git
synced 2026-11-26 23:40:45 +00:00
golang:1.26-trixie now resolves to Go 1.26.11, which rejects C archives that contain LLVM bitcode: disallowed LTO section ".llvmbc" in #cgo LDFLAGS: .../moq-go-ffi@v0.3.7/moq/lib/linux_arm64/libmoq_ffi.a Every moq-go-ffi v0.3.x release ships such archives, so `go build -tags moq` fails in the Docker build on amd64 and arm64. There is no opt-out. Only moq-ffi v0.4.27+ (module moq.dev/moq-ffi, used by moq.dev/moq v0.7) is clean, which needs a migration of the MoQ code. Pin the build image to golang:1.26.10-trixie and set GOTOOLCHAIN=go1.26.10 in the devcontainer, where verify-moq-devcontainer.sh builds with -tags moq. The Go CI workflow builds without the moq tag and stays on 1.26.x. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>