<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 --- - clang: error: unable to execute command: Segmentation fault: 11"
   href="http://llvm.org/bugs/show_bug.cgi?id=16497">16497</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang: error: unable to execute command: Segmentation fault: 11
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.2
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </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>bryanwsapp@gmail.com
          </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>Created <span class=""><a href="attachment.cgi?id=10797" name="attach_10797" title="Preprocessed source + run script">attachment 10797</a> <a href="attachment.cgi?id=10797&action=edit" title="Preprocessed source + run script">[details]</a></span>
Preprocessed source + run script

Version:

Apple LLVM version 4.2 (clang-425.0.28)

Summary:

While compiling an open source megadrive emulator, picodrive
(<a href="https://github.com/notaz/picodrive">https://github.com/notaz/picodrive</a>), clang crashed with the error: 

clang: error: unable to execute command: Segmentation fault: 11

Notes:

0  clang 0x0000000100c57bb2 main + 12932498
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-apple-macosx10.8.0
-emit-obj -disable-free -disable-llvm-verifier -main-file-name memory.c
-pic-level 2 -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 136 -g -coverage-file
/Users/clobber/Documents/clobber/picodrive/pico/memory.o -resource-dir
/usr/bin/../lib/clang/4.2 -D NDEBUG -D EMU_F68K -D _USE_CZ80 -I . -I
platform/linux/ -fmodule-cache-path
/var/folders/kh/f9qqcqz165d0gbtbg9v43zlh0000gn/T/clang-module-cache -O2 -Wall
-fdebug-compilation-dir /Users/clobber/Documents/clobber/picodrive
-ferror-limit 19 -fmessage-length 87 -stack-protector 1 -mstackrealign -fblocks
-fobjc-runtime=macosx-10.8.0 -fobjc-dispatch-method=mixed
-fobjc-default-synthesize-properties -fdiagnostics-show-option
-fcolor-diagnostics -o pico/memory.o -x c pico/memory.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'pico/memory.c'.
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://developer.apple.com/bugreporter/">http://developer.apple.com/bugreporter/</a> 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:
/var/folders/kh/f9qqcqz165d0gbtbg9v43zlh0000gn/T/memory-47tPfX.c
clang: note: diagnostic msg:
/var/folders/kh/f9qqcqz165d0gbtbg9v43zlh0000gn/T/memory-47tPfX.sh
clang: note: diagnostic msg: 

********************
make: *** [pico/memory.o] Error 254</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>