Created attachment 239462 [details] poudriere log Hi, Compilation of devel/libdispatch fails by assertion: Assertion failed: (isDeclRep((TST) TypeSpecType) || TypeSpecType == TST_typename), function getTypeSpecTypeNameLoc, file /usr/src/contrib/llvm-project/clang/include/clang/Sema/DeclSpec.h, line 519. PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. Full poudriere log and preprocessed+shell files are attached to ticket.
Created attachment 239463 [details] preprocessed file source allocator*
This is a known issue on -current build due to enabled all assertion debug by default. Anyway, build supported only on stable branches. Use ports' llvm or rebuild world with MALLOC_PRODUCTION
Does applying bug 265425 help? (In reply to Dima Panov from comment #2) > rebuild world with MALLOC_PRODUCTION Did you mean WITHOUT_LLVM_ASSERTIONS in src.conf(5)?
Created attachment 239625 [details] devel/libdispatch: fix build on CURRENT
(In reply to Oleg Ginzburg from comment #4) Note this should have been fixed as part of the llvm-15 update. Upstream fixed it in https://github.com/llvm/llvm-project/commit/b159108bc5eb, which ended up in 15.0.0. On stable or releng branches there should be no problem, since assertions are disabled in those branches.
I suppose this bug can be closed as LLVM15 is out and nobody complained about it. Thanks to all!