Skip to content

ARM releases should have builds for arm5, arm6, arm7 respectively #682

@eripa

Description

@eripa

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions