mt7621 Illegal instruction
Wonder1031 opened this issue · 2 comments
Wonder1031 commented
root@OpenWrt:/nps# tar zxvf linux_mipsle_client.tar.gz
npc
conf/npc.conf
conf/multi_account.conf
root@OpenWrt:/nps# ./npc install -server=##########3 -vkey=######## -type=tcp
Illegal instruction
MoeField commented
try use ="####" instead of =#### ?
Arexh commented
Solved by softfloat compiling
CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -ldflags "-s -w -extldflags -static -extldflags -static" ./cmd/nps/nps.go
tar -czvf linux_mipsle_softfloat_server.tar.gz conf/nps.conf conf/tasks.json conf/clients.json conf/hosts.json conf/server.key conf/server.pem web/views web/static nps
CPU utilization is high however 😢