From owner-freebsd-bugs@freebsd.org Tue Feb 13 12:31:49 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 343D4F1E285 for ; Tue, 13 Feb 2018 12:31:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BFC7A75F9A for ; Tue, 13 Feb 2018 12:31:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F205926538 for ; Tue, 13 Feb 2018 12:31:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1DCVl1h082630 for ; Tue, 13 Feb 2018 12:31:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1DCVlZC082621 for freebsd-bugs@FreeBSD.org; Tue, 13 Feb 2018 12:31:47 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: freebsd-bugs@FreeBSD.org Subject: [Bug 225862] clang dumps core on head@r329155 Date: Tue, 13 Feb 2018 12:31:47 +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: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Feb 2018 12:31:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225862 Bug ID: 225862 Summary: clang dumps core on head@r329155 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: ae@FreeBSD.org I'm trying to build not yet ready to build code to see what I can fix :) But clang dumps core. This is output from make command: Assertion failed: (D.getASTContext().getLangOpts().CPlusPlus), function isDeclExternC, file /usr/src/contrib/llvm/tools/clang/lib/AST/Decl.cpp, line 1954. cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 6.0.0 (branches/release_60 324090) (based on LLVM 6.0= .0) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin cc: 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. cc: note: diagnostic msg: Error generating preprocessed source(s). *** Error code 254 % gdb -q cc cc.core Reading symbols from cc...Reading symbols from /usr/lib/debug//usr/bin/clang.debug...done. done. [New LWP 101201] Core was generated by `/usr/bin/cc -cc1 -triple x86_64-unknown-freebsd12.0 -emit-obj -disable-free -mai'. Program terminated with signal SIGABRT, Aborted. #0 thr_kill () at thr_kill.S:3 3 RSYSCALL(thr_kill) (gdb) bt #0 thr_kill () at thr_kill.S:3 #1 0x00000000040f74af in __raise (s=3D6) at /usr/src/lib/libc/gen/raise.c:= 54 #2 0x00000000040f7476 in abort () at /usr/src/lib/libc/stdlib/abort.c:79 #3 0x0000000004166a3a in __assert (func=3D, file=3D, line=3D, failedexpr=3D) at /usr/src/lib/libc/gen/assert.c:53 #4 0x00000000024f08c7 in isDeclExternC () at /usr/src/contrib/llvm/tools/clang/lib/AST/Decl.cpp:1954 #5 isExternC () at /usr/src/contrib/llvm/tools/clang/lib/AST/Decl.cpp:2788 #6 0x0000000001c1fd60 in ActOnFunctionDeclarator () at /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:8990 #7 0x0000000001c1962b in HandleDeclarator () at /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:5465 #8 0x0000000001c0067c in ActOnDeclarator () at /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:5145 #9 ImplicitlyDefineFunction () at /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:12606 #10 0x00000000019fd61c in ActOnIdExpression () at /usr/src/contrib/llvm/tools/clang/lib/Sema/SemaExpr.cpp:2119 #11 0x00000000020369e5 in ParseCastExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:1037 #12 0x000000000202f736 in ParseCastExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:527 #13 ParseRHSOfBinaryExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:416 #14 0x000000000202f0cd in ParseAssignmentExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:175 #15 0x0000000002037929 in ParseExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:124 #16 ParseParenExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:2526 #17 0x0000000002032585 in ParseCastExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:775 #18 0x000000000202f075 in ParseCastExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:527 #19 ParseAssignmentExpression () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseExpr.cpp:172 #20 0x000000000201d27a in ParseBracketDeclarator () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:6549 #21 0x000000000201970b in ParseDirectDeclarator () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:5755 #22 0x0000000002017d42 in ParseDeclaratorInternal () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:5316 #23 0x0000000002014dc5 in ParseDeclarator () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:5185 #24 ParseStructDeclaration () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:3853 #25 0x0000000002015601 in ParseStructUnionBody () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:3954 #26 0x0000000001ff2d2e in ParseClassSpecifier () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDeclCXX.cpp:1920 #27 0x000000000200abdc in ParseDeclarationSpecifiers () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseDecl.cpp:3633 #28 0x0000000001fb5e6f in ParseDeclOrFunctionDefInternal () at /usr/src/contrib/llvm/tools/clang/lib/Parse/Parser.cpp:922 #29 0x0000000001fb5ad1 in ParseDeclarationOrFunctionDefinition () at /usr/src/contrib/llvm/tools/clang/lib/Parse/Parser.cpp:1028 #30 0x0000000001fb4912 in ParseExternalDeclaration () at /usr/src/contrib/llvm/tools/clang/lib/Parse/Parser.cpp:853 #31 0x0000000001fb3837 in ParseTopLevelDecl () at /usr/src/contrib/llvm/tools/clang/lib/Parse/Parser.cpp:609 #32 0x0000000001faf605 in ParseAST () at /usr/src/contrib/llvm/tools/clang/lib/Parse/ParseAST.cpp:147 #33 0x00000000019c44ee in Execute () at /usr/src/contrib/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:897 #34 0x00000000027ac661 in ExecuteAction () at /usr/src/contrib/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp:991 #35 0x00000000015939f3 in ExecuteCompilerInvocation () at /usr/src/contrib/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocatio= n.cpp:252 #36 0x00000000015887d0 in cc1_main () at /usr/src/contrib/llvm/tools/clang/tools/driver/cc1_main.cpp:221 #37 0x0000000001590e6a in ExecuteCC1Tool () at /usr/src/contrib/llvm/tools/clang/tools/driver/driver.cpp:309 #38 main () at /usr/src/contrib/llvm/tools/clang/tools/driver/driver.cpp:388 --=20 You are receiving this mail because: You are the assignee for the bug.=