Date: Fri, 20 Aug 2021 08:13:04 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257961] clang 11.0.1 crash while compiling devel/capnproto 0.9.0 Message-ID: <bug-257961-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257961 Bug ID: 257961 Summary: clang 11.0.1 crash while compiling devel/capnproto 0.9.0 Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: fernape@FreeBSD.org I'm working on the update of devel/capnproto to 0.9.0 as specified in bug #257919. In my current, clang chokes with the following error: Assertion failed: ((T->isAnyPointerType() || T->isBlockPointerType()) && "Invalid type"), function isPointerZeroInitializable, file /usr/local/poudriere/jails/13-current/usr/src/contrib/llvm-project/clang/li= b/CodeGen/CodeGenTypes.cpp, line 869. PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: c++ -DHAVE_CONFIG_H -I. -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR=3D"/usr/local/include" -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -D_THREAD_SAFE -pthread -DKJ_HAS_ZLIB -DKJ_HAS_OPENSSL -MT src/capnp/compiler/capnpc-c++.o -MD -MP = -MF src/capnp/compiler/.deps/capnpc-c++.Tpo -c -o src/capnp/compiler/capnpc-c++= .o src/capnp/compiler/capnpc-c++.c++=20 1. <eof> parser at end of file 2. Per-file LLVM IR generation 3. ./src/kj/debug.h:655:3 <Spelling=3D./src/kj/debug.h:650:25>: Genera= ting code for declaration 'kj::_::DebugExpression<kj::StringPtr &>::operator!=3D' depbase=3D`echo src/capnp/compiler/parser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I.= =20=20=20 -I./src -I./src -DKJ_HEADER_WARNINGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR=3D'"/usr/local/include"' -D_THREAD_SAFE -pthread -O2 -p= ipe -fstack-protector-strong -fno-strict-aliasing -D_THREAD_SAFE -pthread -DKJ_HAS_ZLIB -DKJ_HAS_OPENSSL -MT src/capnp/compiler/parser.lo -MD -MP -MF $depbase.Tpo -c -o src/capnp/compiler/parser.lo src/capnp/compiler/parser.c= ++ &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: c++ -DHAVE_CONFIG_H -I. -I./src -I./src -DKJ_HEADER_WARN= INGS -DCAPNP_HEADER_WARNINGS -DCAPNP_INCLUDE_DIR=3D\"/usr/local/include\" -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-alia= sing -D_THREAD_SAFE -pthread -DKJ_HAS_ZLIB -DKJ_HAS_OPENSSL -MT src/capnp/compiler/parser.lo -MD -MP -MF src/capnp/compiler/.deps/parser.Tp= o -c src/capnp/compiler/parser.c++ -fPIC -DPIC -o src/capnp/compiler/.libs/pars= er.o #0 0x00000000041e71ce PrintStackTrace /usr/local/poudriere/jails/13-current/usr/src/contrib/llvm-project/llvm/lib= /Support/Unix/Signals.inc:564:13 #1 0x00000000041e5425 RunSignalHandlers /usr/local/poudriere/jails/13-current/usr/src/contrib/llvm-project/llvm/lib= /Support/Signals.cpp:69:18 #2 0x000000000418490e HandleCrash /usr/local/poudriere/jails/13-current/usr/src/contrib/llvm-project/llvm/lib= /Support/CrashRecoveryContext.cpp:77:5 #3 0x0000000004184a91 CrashRecoverySignalHandler /usr/local/poudriere/jails/13-current/usr/src/contrib/llvm-project/llvm/lib= /Support/CrashRecoveryContext.cpp:0:51 #4 0x00000008056a7010 handle_signal /usr/local/poudriere/jails/13-current/usr/src/lib/libthr/thread/thr_sig.c:0= :3 c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/capnpc-c++-161d22.cpp c++: note: diagnostic msg: /tmp/capnpc-c++-161d22.sh c++: note: diagnostic msg:=20 ******************** gmake[1]: *** [Makefile:2307: src/capnp/compiler/capnpc-c++.o] Error 254 gmake[1]: *** Waiting for unfinished jobs.... The host machine is FreeBSD vm-current 14.0-CURRENT FreeBSD 14.0-CURRENT #14 main-n247765-31914882fca5: Thu Jul 8 07:11:23 CEST 2021=20=20=20=20 root@vm-current:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 and the port is built in poudriere (yeah, the name of the jail is 13-curren= t, but it actually runs 14.0-current... is confusing): [fernape@vm-current /usr/local/poudriere/ports/default]$ poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP=20=20= =20=20=20=20=20=20=20=20 PATH 13-current 14.0-CURRENT 1400013 50d31dbc6 amd64 git+https 2021-05-02 17:11:= 19 /usr/local/poudriere/jails/13-current --=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-257961-227>