I’d like to propose/suggest/request a new build-target for syncthing that targets MIPS without an FPU as tends to be common with router hardware.
In particular, I’m interested in getting the syncthing-relay-server running on LEDE/OpenWRT targeting the AR71xx (MIPS) build.
There is a known issue with these devices not having an FPU which leads to errors that look like this:-
$ ./strelaysrv: line 1: syntax error: unexpected "("
The root of the problem seems to be that the golang compiler normally builds a binary that uses instructions from the FPU set.
Two approaches for resolution seem to exist:-
Recompile the operating-system kernel with FPU emulation as was mentioned in this thread Install Syncthing on Router with LEDE 17.01.4
Build the syncthing binaries with the golang build option
GOMIPS=softfloatwhich is a new build option in v1.10 - there is a related thread on this here https://github.com/brocaar/lora-gateway-bridge/issues/65