I tried to setup dnscrypt-proxy using the released version of dnscrypt-proxy (2.0.19) for FreeBSD "arm" on a Raspberry Pi 2. Unfortunately it seem to have been compiled with GOARM=5 which causes it to exit with:
./dnscrypt-proxy -version
runtime: this system has multiple CPUs and must use
atomic synchronization instructions. Recompile using GOARM=7.
If I recompile it manually on my Mac using either:
GOOS=freebsd GOARCH=arm go build -ldflags="-s -w"
or
GOOS=freebsd GOARCH=arm GOARM=6 go build -ldflags="-s -w"
or
GOOS=freebsd GOARCH=arm GOARM=7 go build -ldflags="-s -w"
it runs fine.
If I compile it using GOARM=5 it will result in a binary with the same broken behaviour.
It seems like the release builds are built using GOARM=5, or that the default Go build parameter is different than mine is (go version go1.11.4 darwin/amd64).
I tried to setup dnscrypt-proxy using the released version of dnscrypt-proxy (2.0.19) for FreeBSD "arm" on a Raspberry Pi 2. Unfortunately it seem to have been compiled with
GOARM=5which causes it to exit with:If I recompile it manually on my Mac using either:
GOOS=freebsd GOARCH=arm go build -ldflags="-s -w"or
GOOS=freebsd GOARCH=arm GOARM=6 go build -ldflags="-s -w"or
GOOS=freebsd GOARCH=arm GOARM=7 go build -ldflags="-s -w"it runs fine.
If I compile it using
GOARM=5it will result in a binary with the same broken behaviour.It seems like the release builds are built using GOARM=5, or that the default Go build parameter is different than mine is (
go version go1.11.4 darwin/amd64).