Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 08:26:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202265] clang++: error: unable to execute command: Segmentation fault  (core dumped)
Message-ID:  <bug-202265-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.      <eof> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202265-8>