<html>
    <head>
      <base href="https://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 --- - Segmentation fault while compiling duktape" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D23977&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=OUPqW_llPipdAjJ2wrPWRfsBGr_o-EWJzcghBFVQqRE&s=XzQQ9Wtgt9REOT5d9zZobOMnRQUS_AI_c70WqRnMxtg&e=">23977</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segmentation fault while compiling duktape
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>matvejchikov@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>$ make
clang -Xclang -msoft-float -Xclang -no-implicit-float -c duktape.c
0  libLLVM-3.6.so  0x00007fcd8588f822 llvm::sys::PrintStackTrace(_IO_FILE*) +
50
1  libLLVM-3.6.so  0x00007fcd8588de19
2  libpthread.so.0 0x00007fcd846eb660
3  libLLVM-3.6.so  0x00007fcd853e330a
4  libLLVM-3.6.so  0x00007fcd853e3a0b
5  libLLVM-3.6.so  0x00007fcd853e532f
6  libLLVM-3.6.so  0x00007fcd853e6ba0
7  libLLVM-3.6.so  0x00007fcd84f5a7a7
llvm::FPPassManager::runOnFunction(llvm::Function&) + 487
8  libLLVM-3.6.so  0x00007fcd84f5a9fb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9  libLLVM-3.6.so  0x00007fcd84f5a401
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 769
10 clang           0x000000000086b9d3
clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions
const&, clang::TargetOptions const&, clang::LangOptions const&,
llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) +
3219
11 clang           0x000000000085b4fb
12 clang           0x0000000000a1aeba clang::ParseAST(clang::Sema&, bool, bool)
+ 826
13 clang           0x00000000006d4b36 clang::FrontendAction::Execute() + 118
14 clang           0x00000000006af2c9
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 313
15 clang           0x0000000000696554
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1828
16 clang           0x0000000000690e40 cc1_main(llvm::ArrayRef<char const*>,
char const*, void*) + 1296
17 clang           0x000000000068de7b main + 955
18 libc.so.6       0x00007fcd83dc1790 __libc_start_main + 240
19 clang           0x0000000000690499 _start + 41
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1 -triple x86_64-unknown-linux-gnu
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
duktape.c -mrelocation-model static -mthread-model posix -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -target-linker-version 2.25.0
-dwarf-column-info -coverage-file
/home/ilya/projects/kjs/kernel/duktape/duktape.c -resource-dir
/usr/bin/../lib/clang/3.6.1 -internal-isystem /usr/local/include
-internal-isystem /usr/bin/../lib/clang/3.6.1/include -internal-externc-isystem
/include -internal-externc-isystem /usr/include -fdebug-compilation-dir
/home/ilya/projects/kjs/kernel/duktape -ferror-limit 19 -fmessage-length 159
-mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics
-msoft-float -no-implicit-float -o duktape.o -x c duktape.c 
1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'duktape.c'.
4.    Running pass 'Fast Register Allocator' on function '@duk_push_number'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6.1 (tags/RELEASE_361/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_bugs_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=OUPqW_llPipdAjJ2wrPWRfsBGr_o-EWJzcghBFVQqRE&s=yPpnUkdBCP9vV1f_xXKpVOr5zb0iylrg4rdNzK3d_rc&e=">http://llvm.org/bugs/</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: /tmp/duktape-3f6af8.c
clang: note: diagnostic msg: /tmp/duktape-3f6af8.sh
clang: note: diagnostic msg: 

********************
Makefile:4: ошибка выполнения рецепта для цели «duktape.o»
make: *** [duktape.o] Ошибка 254




 "/usr/bin/clang" "-cc1" "-triple" "x86_64-unknown-linux-gnu" "-emit-obj"
"-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-main-file-name"
"duktape.c" "-mrelocation-model" "static" "-mthread-model" "posix"
"-mdisable-fp-elim" "-fmath-errno" "-masm-verbose" "-mconstructor-aliases"
"-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64"
"-target-linker-version" "2.25.0" "-dwarf-column-info" "-ferror-limit" "19"
"-fmessage-length" "159" "-mstackrealign" "-fobjc-runtime=gcc"
"-fdiagnostics-show-option" "-fcolor-diagnostics" "-msoft-float"
"-no-implicit-float" "-x" "c" "duktape-3f6af8.c"</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>