<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - SEGV running c++"
   href="http://llvm.org/bugs/show_bug.cgi?id=21198">21198</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SEGV running c++
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>FreeBSD
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>phil@base.com.au
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I get this when trying to build cake using postmaster.

Stack dump:
0.    Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd10.0
-emit-obj -disable-free -disable-llvm-verifier -main-file-name
cmBootstrapCommands1.cxx -mrelocation-model static -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -coverage-file
/usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk/cmBootstrapCommands1.o
-resource-dir /usr/bin/../lib/clang/3.3 -D NO_IDEA -I
/usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk -I
/usr/ports/devel/cmake/work/cmake-3.0.2/Source -I
/usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk -internal-isystem
/usr/include/c++/v1 -O2 -fdeprecated-macro -fdebug-compilation-dir
/usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk -ferror-limit 19
-fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep
-fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -backend-option -vectorize-loops -o
cmBootstrapCommands1.o -x c++
/usr/ports/devel/cmake/work/cmake-3.0.2/Source/cmBootstrapCommands1.cxx 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/usr/ports/devel/cmake/work/cmake-3.0.2/Source/cmBootstrapCommands1.cxx'.
c++: error: unable to execute command: Segmentation fault (core dumped)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd10.0
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to <a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a>
and include the crash backtrace, preprocessed source, and associated run
script.
c++: note: diagnostic msg: 
********************

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/cmBootstrapCommands1-0eP2P2.cpp
c++: note: diagnostic msg: /tmp/cmBootstrapCommands1-0eP2P2.sh
c++: note: diagnostic msg: 

********************
*** [cmBootstrapCommands1.o] Error code 254

make[2]: stopped in /usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk
1 error

make[2]: stopped in /usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors:
/usr/ports/devel/cmake/work/cmake-3.0.2/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===>  Script "configure" failed unexpectedly.
Please report the problem to <a href="mailto:kde@FreeBSD.org">kde@FreeBSD.org</a> [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-3.0.2/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/cmake
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/cmake</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>