Bug 210886 - clang/llvm-tblgen fails to buid
Summary: clang/llvm-tblgen fails to buid
Status: Closed Unable to Reproduce
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Dimitry Andric
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 08:52 UTC by Xavier Humbert
Modified: 2018-01-28 22:05 UTC (History)
3 users (show)

See Also:


Attachments
/tmp/AsmMatcherEmitter-f97888.cpp|.sh (588.94 KB, application/zip)
2016-07-07 08:52 UTC, Xavier Humbert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Humbert 2016-07-07 08:52:47 UTC
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:
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2018-01-28 22:05:11 UTC
I cannot reproduce this, neither with clang 3.8.0, nor with later versions.  Please reopen if this still occurs on recent -CURRENT.