[Midnightbsd-cvs] [MidnightBSD/src] dae9a7: arm64: drop the stale crypto/openssl/aarch64/arm_a...

Lucas Holt noreply at github.com
Fri Sep 25 18:58:46 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: dae9a79fcdc810960ebd3643529ea0e4a1c4f2d7
      https://github.com/MidnightBSD/src/commit/dae9a79fcdc810960ebd3643529ea0e4a1c4f2d7
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-25 (Fri, 25 Sep 2026)

  Changed paths:
    M sys/conf/files.arm64
    R sys/crypto/openssl/aarch64/arm_arch.h
    M sys/crypto/openssl/ossl_aarch64.c

  Log Message:
  -----------
  arm64: drop the stale crypto/openssl/aarch64/arm_arch.h copy (#525)

The OpenSSL aarch64 assembly files #include "arm_arch.h", which resolves
to the sibling copy in sys/crypto/openssl/aarch64/ before any -I path.
That copy dates from OpenSSL 1.1 (2018) and lacks the macros the current
3.0 assembly uses, so AARCH64_VALID_CALL_TARGET is left unexpanded and
every arm64 GENERIC build fails:

    sys/crypto/openssl/aarch64/aesv8-armx.S:18:2: error: unrecognized instruction mnemonic

Remove the stale copy so the include resolves to the maintained
sys/crypto/openssl/arm_arch.h, add -I$S/crypto/openssl to the aarch64
OpenSSL assembly rules in files.arm64 as FreeBSD does, and repoint the
one C consumer (ossl_aarch64.c) at the surviving header.

Verified: aesv8-armx.o, ghashv8-armx.o, sha1/sha256/sha512-armv8.o,
poly1305-armv8.o, chacha-armv8.o, ossl_aarch64.o, armv8_crypto.o and
armv8_crypto_wrap.o all cross-compile for aarch64 from a GENERIC+ossl
config; the first two fail identically before the change.

AI-Assisted-by: Claude Fable 5.1

Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Fable 5.1 <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications


More information about the Midnightbsd-cvs mailing list