From 2bcea3de2f9888628ee2e46d008a247de6cb59e4 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 1 Oct 2020 20:34:14 -0700 Subject: [PATCH] ircd::utf: Elide instantiation at 512-bit width on aarch64 due to clang-10 issue. --- ircd/utf.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ircd/utf.cc b/ircd/utf.cc index e473c7140..2575b3f17 100644 --- a/ircd/utf.cc +++ b/ircd/utf.cc @@ -260,7 +260,11 @@ namespace ircd::utf16 { template u8x16 utf16::find_surrogate(const u8x16) noexcept; template u8x32 utf16::find_surrogate(const u8x32) noexcept; + + // Clang-10 is having trouble with this instantiation on aarch64 + #if !defined(__clang__) || !defined(__aarch64__) template u8x64 utf16::find_surrogate(const u8x64) noexcept; + #endif } template