Open halkyon opened 2 years ago
FreeBSD binaries are broken if compiled with CGO_ENABLED=0.
CGO_ENABLED=0
GOOS=freebsd GOARCH=amd64 CGO_ENABLED=0 go build -o ./gateway-freebsd-amd64 -tags kqueue -ldflags '-linkmode external -extldflags "-static"'
When running the resulting binary on a FreeBSD 13 amd64 machine:
./gateway_freebsd_amd64 Trace/BPT trap (core dumped)
It appears to be broken for Gateway-MT, Linksharing, and Authservice binaries built the same way too.
Change https://review.dev.storj.io/c/storj/gateway/+/5865 mentions this issue.
FreeBSD binaries are broken if compiled with
CGO_ENABLED=0
.When running the resulting binary on a FreeBSD 13 amd64 machine:
It appears to be broken for Gateway-MT, Linksharing, and Authservice binaries built the same way too.