Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FreeBSD ARMv6, ARMv7, and Aarch64 support #1288

Merged
merged 1 commit into from Nov 10, 2020
Merged

FreeBSD ARMv6, ARMv7, and Aarch64 support #1288

merged 1 commit into from Nov 10, 2020

Conversation

darkain
Copy link
Contributor

@darkain darkain commented Nov 7, 2020

Fixing builds on FreeBSD

  • Added linker flags to fix arm32-neon-salsa2012-asm
  • Added ZT_AES_NO_ACCEL to ARMv7 (this could possibly be improved, but I think it'll require changes in the FreeBSD source tree)
  • Added -march=armv8-a+crypto to ARM64 (without this, clang refused to recognize crypto intrinsic)
  • Added a shim for getauxval since this isn't available on FreeBSD
  • The HWCAP defines and detection could probably be cleaned up / improved, but this at least works

@adamierymenko adamierymenko merged commit cbcd2be into zerotier:dev Nov 10, 2020
@dch
Copy link
Contributor

dch commented Nov 14, 2020

@darkain awesome, please @ me for any future patches!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants