From nobody Fri Aug 20 08:13:04 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1B9A317716F2 for ; Fri, 20 Aug 2021 08:13:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GrZBm73nYz4xnV for ; Fri, 20 Aug 2021 08:13:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DAB42159AD for ; Fri, 20 Aug 2021 08:13:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 17K8D4c3063070 for ; Fri, 20 Aug 2021 08:13:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 17K8D4cr063069 for bugs@FreeBSD.org; Fri, 20 Aug 2021 08:13:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 257961] clang 11.0.1 crash while compiling devel/capnproto 0.9.0 Date: Fri, 20 Aug 2021 08:13:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fernape@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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. parser at end of file 2. Per-file LLVM IR generation 3. ./src/kj/debug.h:655:3 : Genera= ting code for declaration 'kj::_::DebugExpression::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.=