hadriansecurity / sanicdns

Gotta go fast
http://et.phoneho.me/sanicdns/
GNU Affero General Public License v3.0
104 stars 5 forks source link

ARM architecture support #14

Open amineism opened 3 months ago

amineism commented 3 months ago

Hello,

Interested in trying the tool and wanted to know if this was currently only compatible with x86/AMD64 architectures. If so, is there any plan to make it ARM compatible ? Thanks

Currently trying to make it work on ARM but some parts of the code seem to be using x86-specific intrinsic functions. Getting the following errors when running ninja -C build. Also had to remove the -mssse3 and -msse4.2 flags from the build.ninja file for attain this step in ARM. Had to make a few changes in the apt install command as well.

kalmjasper commented 3 months ago

Yes I'd like to rewrite this code to enable the compiler to insert the ARM/x86 vector instructions. Coming up :) Shouldn't be too much work I think

kalmjasper commented 3 months ago

You can try it out with any random x86 VPS for now. Adding ARM support is definitely a must nowadays though