Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 13:26:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220184] clang 4.0.0 segfaults on buildworld
Message-ID:  <bug-220184-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220184

            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@FreeBSD.org
          Reporter: chrysalis@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 proc=
ess
segfaults. I have found numerous hits on google with clang 4.0.0 instabilit=
ies.

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=3Dne=
halem
-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=3D\"x86_64-unknown-freebsd11.1\"
-DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.1\" -DDEFAULT_SYSROOT=3D\"\"
-ffunction-sections -fdata-sections -MD -MF.depend.DataFormatters_TypeSumma=
ry.o
-MTDataFormatters/TypeSummary.o -fstack-protector-strong -Qunused-arguments
-Wno-deprecated  -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++
-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, preproces=
sed
source, and associated run script.
clang++: note: diagnostic msg:=20
********************

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:=20

********************
*** [DataFormatters/TypeCategory.o] Error code 254

make[6]: stopped in /usr/src/11s/lib/clang/liblldb
1 error

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220184-8>