From owner-freebsd-toolchain@freebsd.org Mon Apr 20 07:41:57 2020 Return-Path: Delivered-To: freebsd-toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D7582B9DC4 for ; Mon, 20 Apr 2020 07:41:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 495JYd2pzBz3LVj for ; Mon, 20 Apr 2020 07:41:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6067E2B9DC3; Mon, 20 Apr 2020 07:41:57 +0000 (UTC) Delivered-To: toolchain@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F1C02B9DC2 for ; Mon, 20 Apr 2020 07:41:57 +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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 495JYd1szKz3LVf for ; Mon, 20 Apr 2020 07:41:57 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BA81C065 for ; Mon, 20 Apr 2020 07:41:57 +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 03K7fvB6002966 for ; Mon, 20 Apr 2020 07:41:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03K7fvx3002965 for toolchain@FreeBSD.org; Mon, 20 Apr 2020 07:41:57 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: toolchain@FreeBSD.org Subject: [Bug 245745] CURRENT clang crashes in poudriere building devel/simdjson Date: Mon, 20 Apr 2020 07:41:57 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Apr 2020 07:41:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245745 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #1 from Mark Millard --- (In reply to Lo=C3=AFc Bartoletti from comment #0) I tried the .sh and .cpp on a ThreadRipper 1950X and got the crash in my head -r359427 context. gdb reports: (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x000000080531ff14 in __raise (s=3D6) at /usr/src/lib/libc/gen/raise.c:= 52 #2 0x0000000805293f66 in abort () at /usr/src/lib/libc/stdlib/abort.c:79 #3 0x000000080530e1e1 in __assert (func=3D, file=3D, line=3D, failedexpr=3D) at /usr/src/lib/libc/gen/assert.c:51 #4 0x0000000001969ee8 in Init () at /usr/src/contrib/llvm-project/clang/include/clang/AST/GlobalDecl.h:45 #5 0x000000000296faa3 in GlobalDecl () at /usr/src/contrib/llvm-project/clang/include/clang/AST/GlobalDecl.h:56 #6 checkTargetFeatures () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:2328 #7 0x0000000002b01d7f in EmitCall () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp:3841 #8 0x0000000002ad2546 in EmitCall () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenFunction.h:3618 #9 EmitCXXConstructorCall () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGClass.cpp:2160 #10 0x0000000002ad1c6b in EmitCXXConstructorCall () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGClass.cpp:2074 #11 0x0000000002a58637 in EmitCXXConstructExpr () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGExprCXX.cpp:649 #12 0x0000000002a63a27 in Visit () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:43 #13 0x0000000002a6001a in Visit () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:106 #14 EmitAggExpr () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:1848 #15 0x0000000002ab20ea in EmitExprAsInit () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp:1902 #16 0x0000000002aaf785 in EmitAutoVarInit () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp:1842 #17 0x0000000002aab485 in EmitAutoVarDecl () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp:1283 #18 EmitVarDecl () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp:195 #19 0x0000000002aab0fc in EmitDecl () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp:139 #20 0x00000000029b242b in EmitDeclStmt () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp:1151 #21 0x00000000029aa085 in EmitSimpleStmt () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp:369 #22 0x00000000029a95a8 in EmitStmt () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp:50 #23 0x00000000029b2f5c in EmitCompoundStmtWithoutScope () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGStmt.cpp:444 #24 0x000000000296b910 in EmitFunctionBody () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1146 #25 GenerateCode () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1311 #26 0x0000000002854a81 in EmitGlobalFunctionDefinition () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4467 #27 0x000000000284e378 in EmitGlobalDefinition () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:2847 #28 0x0000000002857be9 in EmitTopLevelDecl () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:5272 #29 0x000000000285b8cb in EmitDeclContext () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:5258 #30 0x000000000285b8cb in EmitDeclContext () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:5258 #31 0x00000000019d171f in HandleTopLevelDecl () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:170 #32 0x00000000019706c7 in HandleTopLevelDecl () at /usr/src/contrib/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:214 #33 0x000000000265fa13 in ParseAST () at /usr/src/contrib/llvm-project/clang/lib/Parse/ParseAST.cpp:162 #34 0x0000000001f1874f in Execute () at /usr/src/contrib/llvm-project/clang/lib/Frontend/FrontendAction.cpp:936 #35 0x000000000314da33 in ExecuteAction () at /usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:965 #36 0x0000000001931023 in ExecuteCompilerInvocation () at /usr/src/contrib/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocat= ion.cpp:290 #37 0x00000000019220a7 in cc1_main () at /usr/src/contrib/llvm-project/clang/tools/driver/cc1_main.cpp:240 #38 0x000000000192eaaf in ExecuteCC1Tool () at /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:329 #39 0x000000000192e76e in main () at /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:403 (gdb) up 4 #4 0x0000000001969ee8 in Init () at /usr/src/contrib/llvm-project/clang/include/clang/AST/GlobalDecl.h:45 45 assert(!isa(D) && "Use other ctor with ctor decls!"); (gdb) list 40 class GlobalDecl { 41 llvm::PointerIntPair Value; 42 unsigned MultiVersionIndex =3D 0; 43=20=20=20=20=20=20 44 void Init(const Decl *D) { 45 assert(!isa(D) && "Use other ctor with ctor decls!"); 46 assert(!isa(D) && "Use other ctor with dtor decls!"); 47=20=20=20=20=20=20 48 Value.setPointer(D); 49 } (gdb) up #5 0x000000000296faa3 in GlobalDecl () at /usr/src/contrib/llvm-project/clang/include/clang/AST/GlobalDecl.h:56 56 Init(D); . . . (gdb) list -20 36 /// GlobalDecl - represents a global declaration. This can either b= e a 37 /// CXXConstructorDecl and the constructor type (Base, Complete). 38 /// a CXXDestructorDecl and the destructor type (Base, Complete) or 39 /// a VarDecl, a FunctionDecl or a BlockDecl. 40 class GlobalDecl { 41 llvm::PointerIntPair Value; 42 unsigned MultiVersionIndex =3D 0; 43=20=20=20=20=20=20 44 void Init(const Decl *D) { 45 assert(!isa(D) && "Use other ctor with ctor decls!"); (gdb)=20 46 assert(!isa(D) && "Use other ctor with dtor decls!"); 47=20=20=20=20=20=20 48 Value.setPointer(D); 49 } 50=20=20=20=20=20=20 51 public: 52 GlobalDecl() =3D default; 53 GlobalDecl(const VarDecl *D) { Init(D);} 54 GlobalDecl(const FunctionDecl *D, unsigned MVIndex =3D 0) 55 : MultiVersionIndex(MVIndex) { (gdb)=20 56 Init(D); 57 } 58 GlobalDecl(const BlockDecl *D) { Init(D); } 59 GlobalDecl(const CapturedDecl *D) { Init(D); } 60 GlobalDecl(const ObjCMethodDecl *D) { Init(D); } 61 GlobalDecl(const OMPDeclareReductionDecl *D) { Init(D); } 62 GlobalDecl(const OMPDeclareMapperDecl *D) { Init(D); } 63 GlobalDecl(const CXXConstructorDecl *D, CXXCtorType Type) : Value= (D, Type) {} 64 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) : Value(= D, Type) {} 65 GlobalDecl(const VarDecl *D, DynamicInitKind StubKind) I do not have access to an Intel context to try. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=