From owner-freebsd-bugs@freebsd.org Wed Aug 12 08:26:11 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6913D99F3D8 for ; Wed, 12 Aug 2015 08:26:11 +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 mx1.freebsd.org (Postfix) with ESMTPS id 495CDE30 for ; Wed, 12 Aug 2015 08:26:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7C8QBI6076188 for ; Wed, 12 Aug 2015 08:26:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 202265] clang++: error: unable to execute command: Segmentation fault (core dumped) Date: Wed, 12 Aug 2015 08:26:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rajendra.sy@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 08:26:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202265 Bug ID: 202265 Summary: clang++: error: unable to execute command: Segmentation fault (core dumped) Product: Base System Version: 10.1-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: rajendra.sy@gmail.com Created attachment 159799 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159799&action=edit Preprocessed source Building latest llvm/clang on FreeBSD10.1 BUILD STEPS: $ git clone http://llvm.org/git/llvm.git $ cd llvm/tools $ git clone http://llvm.org/git/clang.git $ cd .. $ mkdir -p build_llvm install_llvm $ export CC=/usr/bin/clang $ export CXX=/usr/bin/clang++ $ cd build_llvm $ cmake ../llvm/ -G Ninja \ -DCMAKE_INSTALL_PREFIX=../install_llvm \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_PARALLEL_LINK_JOBS=1 $ ninja Attached single file which was mentioned in the below output. The preprocessed file is large submit throwing error. Console output: 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/b/syrajendra/fbsd/blog/llvm/tools/clang/lib/CodeGen/CGExpr.cpp'. 4. Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZN5clang7CodeGen15CodeGenFunction12EmitCallArgsINS_17FunctionProtoTypeEEEvRNS0_11CallArgListEPKT_N4llvm14iterator_rangeINS_4Stmt17ConstExprIteratorEEEPKNS_12FunctionDeclEj' 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 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.1 Thread model: posix clang++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. clang++: note: diagnostic msg: ******************** 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/CGExpr-d7795e.cpp clang++: note: diagnostic msg: /tmp/CGExpr-d7795e.sh clang++: note: diagnostic msg: ******************** [2098/2418] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGStmtOpenMP.cpp.o ninja: build stopped: subcommand failed. -- You are receiving this mail because: You are the assignee for the bug.