Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.87 KB

File metadata and controls

47 lines (33 loc) · 1.87 KB

Geode-linux-dnscrypt-proxy

AMD Geode specific build of dnscrypt-proxy 2.0.34-beta1 (maintainer provided i386 binaries fail due to use of SSE instructions)

Prerequisites: go (compiled with Geode specific flags) and git

Note: walkthrough to compile the linux Geode specific go version as well as binaries are here

Using How to build dnscrypt-proxy instructions :

  1. Create your working directory

  2. Clone the dnscrypt proxy repo

> mkdir dnscrypt-proxy-src
> cd dnscrypt-proxy-src
> git clone https://github.com/jedisct1/dnscrypt-proxy src
  1. Set variables
export PATH=$PATH:$HOME/your_go_bin_directory (or PATH=$PATH:/the_fullpath)
export GOPATH=$PWD
export GOOS=linux
export GOARCH=386
export GO386=387
export CGO_ENABLED=0 

The main issue with standard i386 binaries is the absence of GO386=387 parameter that is needed to indicate lack of support for SSE processor instructions

  1. Compile
go clean
go build -ldflags="-s -w" -o $GOPATH/linux-i386-geode/dnscrypt-proxy

The resulting binary will be under /dnscrypt-proxy-src/src/dnscrypt-proxy/linux-i386-geode/

  1. I would recommend to download the same package as the one we compiled (2.0.34-beta1 for your reference) and untar it to /opt/dnscrypt-proxy or similar, replace the binary and reset the permissions as required.

For your convinience and subject to all relevant legal terms, this repo has the binary in the /bin directory compiled 29/11/2019.

Note that dnscrypt-proxy is licensed under these terms and have the following copyright notice Copyright (c) 2018 Frank Denis <j at pureftpd dot org>

Sources

How to build dnscrypt-proxy