[Bug 220184] clang 4.0.0 segfaults on buildworld
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 21 13:26:13 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220184
Bug ID: 220184
Summary: clang 4.0.0 segfaults on buildworld
Product: Base System
Version: 11.0-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: freebsd-bugs at FreeBSD.org
Reporter: chrysalis at chrysalisnet.org
This system has done countless compiling including several buildworlds, and no
segfaults, but now after base clang is updated to 4.0.0 the buildworld process
segfaults. I have found numerous hits on google with clang 4.0.0 instabilities.
Data below
/usr/local/bin/ccache clang++ -O2 -pipe
-I/usr/src/11s/contrib/llvm/tools/lldb/include
-I/usr/src/11s/contrib/llvm/tools/lldb/source
-I/usr/src/11s/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD
-I/usr/src/11s/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX
-I/usr/src/11s/contrib/llvm/tools/lldb/source/Plugins/Process/Utility
-I/usr/obj/usr/src/11s/lib/clang/libllvm
-I/usr/obj/usr/src/11s/lib/clang/libclang -DLLDB_DISABLE_PYTHON -march=nehalem
-I/usr/src/11s/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT
-DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/11s/lib/clang/include
-I/usr/src/11s/contrib/llvm/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.1\"
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.1\" -DDEFAULT_SYSROOT=\"\"
-ffunction-sections -fdata-sections -MD -MF.depend.DataFormatters_TypeSummary.o
-MTDataFormatters/TypeSummary.o -fstack-protector-strong -Qunused-arguments
-Wno-deprecated -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++
-Wno-c++11-extensions -c
/usr/src/11s/contrib/llvm/tools/lldb/source/DataFormatters/TypeSummary.cpp -o
DataFormatters/TypeSummary.o
--- DataFormatters/TypeCategory.o ---
clang++: error: unable to execute command: Segmentation fault (core dumped)
clang++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM
4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
clang++: 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.
clang++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /tmp/TypeCategory-d16108.cpp
clang++: note: diagnostic msg: /tmp/TypeCategory-d16108.sh
clang++: note: diagnostic msg:
********************
*** [DataFormatters/TypeCategory.o] Error code 254
make[6]: stopped in /usr/src/11s/lib/clang/liblldb
1 error
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list