Created attachment 172189 [details] /tmp/AsmMatcherEmitter-f97888.cpp|.sh ===> usr.bin/clang/llvm-tblgen (obj,all,install) /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/llvm-tblgen created for /usr/src/usr.bin/clang/llvm-tblgen echo llvm-tblgen.full: /usr/lib/libc.a /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/llvm-tblgen/../../../lib/clang/libllvmtablegen/libllvmtablegen.a /usr/obj/usr/src/tmp/usr/src/usr.bin/clang/llvm-tblgen/../../../lib/clang/libllvmsupport/libllvmsupport.a /usr/lib/libncursesw.a /usr/lib/libpthread.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend echo llvm-tblgen.full: /usr/lib/libc++.a >> .depend c++ -O2 -pipe -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/include -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/tools/clang/include -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/utils/TableGen -I. -I/usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/usr/obj/usr/src/tmp\" -g -MD -MF.depend.AsmMatcherEmitter.o -MTAsmMatcherEmitter.o -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -c /usr/src/usr.bin/clang/llvm-tblgen/../../../contrib/llvm/utils/TableGen/AsmMatcherEmitter.cpp -o AsmMatcherEmitter.o <jemalloc>: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:831: Failed assertion: "(mapbits & (CHUNK_MAP_LARGE|CHUNK_MAP_ALLOCATED)) == 0" c++: error: unable to execute command: Abort trap (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. c++: note: diagnostic msg:
I cannot reproduce this, neither with clang 3.8.0, nor with later versions. Please reopen if this still occurs on recent -CURRENT.