In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/lib/Analysis/AliasAnalysis.cpp:26: In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/Analysis/AliasAnalysis.h:40: In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/DenseMap.h:16: In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/DenseMapInfo.h:16: In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/ArrayRef.h:12: In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/Hashing.h:48: In file included from /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/Support/ErrorHandling.h:17: /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/Support/Compiler.h:419:11: fatal error: 'sanitizer/asan_interface.h' file not found # include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ assertion "SS.isEmpty() && "undeclared non-type annotation should be unqualified"" failed: file "/usr/src/tools/llvm-lib/libclangParse/../../llvm/../../external/apache2/llvm/lib/../dist/clang/lib/Parse/ParseExprCXX.cpp", line 585, function "clang::ExprResult clang::Parser::tryParseCXXIdExpression(clang::CXXScopeSpec&, bool, clang::Token&)" Stack dump: 0. Program arguments: /public/netbsd-llvm/tooldir.NetBSD-9.99.50-amd64/bin/x86_64--netbsd-clang -cc1 -triple x86_64-unknown-netbsd -emit-obj -disable-free -main-file-name AliasAnalysis.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mframe-pointer=none -masm-verbose -mconstructor-aliases -munwind-tables -D_REENTRANT -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -target-linker-version 1 -ffunction-sections -fdata-sections -resource-dir /public/netbsd-llvm/tooldir.NetBSD-9.99.50-amd64/lib/clang/9.0.0 -I . -I /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/clang/include -I /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include -I /public/netbsd-llvm/external/apache2/llvm/include -I /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../config -I /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../config -D _REENTRANT -isysroot /public/netbsd-llvm/destdir.amd64 -internal-isystem /public/netbsd-llvm/destdir.amd64/usr/include/c++ -O2 -Werror -std=c++14 -fdeprecated-macro -fdebug-compilation-dir /public/netbsd-llvm/external/apache2/llvm/librt/libLLVMAnalysis -ferror-limit 19 -fmessage-length 0 -fsanitize=address -fsanitize-address-use-after-scope -fno-assume-sane-operator-new -fno-rtti -fgnuc-version=4.2.1 -fobjc-runtime=gnustep -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o AliasAnalysis.pico -x c++ /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/lib/Analysis/AliasAnalysis.cpp 1. /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/SmallString.h:53:28: at annotation token 2. /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/SmallString.h:20:1: parsing namespace 'llvm' 3. /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/SmallString.h:25:1: parsing struct/union/class body 'llvm::SmallString' 4. /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/SmallString.h:51:37: parsing function body 'llvm::SmallString::assign' 5. /usr/src/external/apache2/llvm/librt/libLLVMAnalysis/../../lib/../dist/llvm/include/llvm/ADT/SmallString.h:51:37: in compound statement ('{}') x86_64--netbsd-clang: error: unable to execute command: Abort trap (core dumped) x86_64--netbsd-clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 9.0.0 (01f3a59fb3e2542fce74c768718f594d0debd0da) Target: x86_64-unknown-netbsd Thread model: posix InstalledDir: /public/netbsd-llvm/tooldir.NetBSD-9.99.50-amd64/bin x86_64--netbsd-clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. x86_64--netbsd-clang: note: diagnostic msg: Error generating preprocessed source(s). *** [AliasAnalysis.pico] Error code 254 nbmake[7]: stopped in /usr/src/external/apache2/llvm/librt/libLLVMAnalysis 1 error nbmake[7]: stopped in /usr/src/external/apache2/llvm/librt/libLLVMAnalysis *** [dependall] Error code 2 nbmake[6]: stopped in /usr/src/external/apache2/llvm/librt/libLLVMAnalysis 1 error nbmake[6]: stopped in /usr/src/external/apache2/llvm/librt/libLLVMAnalysis *** [dependall-libLLVMAnalysis] Error code 2 nbmake[5]: stopped in /usr/src/external/apache2/llvm/librt 1 error nbmake[5]: stopped in /usr/src/external/apache2/llvm/librt *** Failed target: dependall-../external/apache2/llvm/librt *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /public/netbsd-llvm/tooldir.NetBSD-9.99.50-amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget ../external/apache2/llvm/librt dependall *** Error code 2 Stop. nbmake[4]: stopped in /usr/src/lib *** [build_install] Error code 1 nbmake[3]: stopped in /usr/src/lib 1 error nbmake[3]: stopped in /usr/src/lib *** [do-lib] Error code 2 nbmake[2]: stopped in /usr/src 1 error nbmake[2]: stopped in /usr/src *** [build] Error code 2 nbmake[1]: stopped in /usr/src 1 error nbmake[1]: stopped in /usr/src *** [distribution] Error code 2 nbmake: stopped in /usr/src 1 error nbmake: stopped in /usr/src ERROR: Failed to make distribution *** BUILD ABORTED *** ----- GNU gdb (GDB) 8.3 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64--netbsd". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /public/netbsd-llvm/tooldir.NetBSD-9.99.50-amd64/bin/x86_64--netbsd-clang... (No debugging symbols found in /public/netbsd-llvm/tooldir.NetBSD-9.99.50-amd64/bin/x86_64--netbsd-clang) [New process 1] Core was generated by `x86_64--netbsd-c'. Program terminated with signal SIGABRT, Aborted. #0 0x00007f7ff5b79f7a in _lwp_kill () from /usr/lib/libc.so.12 (gdb) bt #0 0x00007f7ff5b79f7a in _lwp_kill () from /usr/lib/libc.so.12 #1 0x00007f7ff5b7a33f in abort () at /usr/src/lib/libc/stdlib/abort.c:82 #2 0x00007f7ff5b798bb in __assert13 (file=, line=, function=, failedexpr=) at /usr/src/lib/libc/gen/assert.c:72 #3 0x0000000000fb96db in clang::Parser::tryParseCXXIdExpression(clang::CXXScopeSpec&, bool, clang::Token&) () #4 0x0000000000fb983a in clang::Parser::ParseCXXIdExpression(bool) () #5 0x0000000000fa8f93 in clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState, bool) () #6 0x0000000000faa9b1 in clang::Parser::ParseCastExpression(bool, bool, clang::Parser::TypeCastState, bool) () #7 0x0000000000fabbce in clang::Parser::ParseAssignmentExpression(clang::Parser::TypeCastState) () #8 0x0000000000fac7d7 in clang::Parser::ParseExpression(clang::Parser::TypeCastState) () #9 0x0000000000fe74c9 in clang::Parser::ParseExprStatement(clang::Parser::ParsedStmtContext) () #10 0x0000000000fe5c4d in clang::Parser::ParseStatementOrDeclarationAfterAttributes(llvm::SmallVector&, clang::Parser::ParsedStmtContext, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&) () #11 0x0000000000fe6453 in clang::Parser::ParseStatementOrDeclaration(llvm::SmallVector&, clang::Parser::ParsedStmtContext, clang::SourceLocation*) () #12 0x0000000000fe9f0d in clang::Parser::ParseCompoundStatementBody(bool) () #13 0x0000000000fec168 in clang::Parser::ParseFunctionStatementBody(clang::Decl*, clang::Parser::ParseScope&) () #14 0x0000000000f78d93 in clang::Parser::ParseLexedMethodDef(clang::Parser::LexedMethod&) () #15 0x0000000000f79a8c in clang::Parser::LexedMethod::ParseLexedMethodDefs() () #16 0x0000000000f78940 in clang::Parser::ParseLexedMethodDefs(clang::Parser::ParsingClass&) () #17 0x0000000000fa3cc3 in clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::Parser::ParsedAttributesWithRange&, unsigned int, clang::Decl*) () #18 0x0000000000fa5d19 in clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&) () #19 0x0000000000f8d6a9 in clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) () #20 0x0000000000ff617d in clang::Parser::ParseSingleDeclarationAfterTemplate(clang::DeclaratorContext, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject&, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) () #21 0x0000000000ffb54b in clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) [clone .part.22] () #22 0x0000000000ffb7ca in clang::Parser::ParseTemplateDeclarationOrSpecialization(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) () #23 0x0000000000ffb858 in clang::Parser::ParseDeclarationStartingWithTemplate(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::AccessSpecifier) () #24 0x0000000000f915dd in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, clang::SourceLocation*) () #25 0x0000000000f750c4 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) () --Type for more, q to quit, c to continue without paging-- #26 0x0000000000f9e4de in clang::Parser::ParseInnerNamespace(llvm::SmallVector const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) () #27 0x0000000000f9ee85 in clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) () #28 0x0000000000f91600 in clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::Parser::ParsedAttributesWithRange&, clang::SourceLocation*) () #29 0x0000000000f750c4 in clang::Parser::ParseExternalDeclaration(clang::Parser::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) () #30 0x0000000000f75c78 in clang::Parser::ParseTopLevelDecl(clang::OpaquePtr&, bool) () #31 0x0000000000f6db96 in clang::ParseAST(clang::Sema&, bool, bool) () #32 0x000000000045ab11 in clang::ASTFrontendAction::ExecuteAction() () #33 0x0000000000b1a5ad in clang::CodeGenAction::ExecuteAction() () #34 0x000000000045d3bb in clang::FrontendAction::Execute() () #35 0x000000000042b676 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) () #36 0x0000000000415c1f in clang::ExecuteCompilerInvocation(clang::CompilerInstance*) () #37 0x000000000040ac87 in cc1_main(llvm::ArrayRef, char const*, void*) () #38 0x000000000342482e in main () (gdb)