Assertion failed: (ESI.Type != EST_Uninstantiated), function SubstExceptionSpec, file /usr/local/poudriere/jails/main-arm64/usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp, line 2667. PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
main-*-default also fails this way for armv7 and i386. In other words: all the LLVM17 based build contexts fail this way. (LLVM16 i386 contexts fail differently.)
*** Bug 276701 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 273366 ***