<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 integrated assembler segfault"
   href="http://llvm.org/bugs/show_bug.cgi?id=18827">18827</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang integrated assembler segfault
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.4
          </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>accounts-llvm@maze.io
          </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=12054" name="attach_12054" title="multiboot-7ce6f6.S">attachment 12054</a> <a href="attachment.cgi?id=12054&action=edit" title="multiboot-7ce6f6.S">[details]</a></span>
multiboot-7ce6f6.S

PROCESS  kernel/src/machine/multiboot.o (AS)
0  libLLVM-3.4.so  0x00002ad7ef1e83f2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  libLLVM-3.4.so  0x00002ad7ef1e81dc
2  libpthread.so.0 0x00002ad7f009b870
3  libLLVM-3.4.so  0x00002ad7ee8daa5b
llvm::MCAsmLayout::ensureValid(llvm::MCFragment const*) const + 27
4  libLLVM-3.4.so  0x00002ad7ee8db139
llvm::MCAsmLayout::getFragmentOffset(llvm::MCFragment const*) const + 9
5  libLLVM-3.4.so  0x00002ad7ee8db2ec
llvm::MCAsmLayout::getSymbolOffset(llvm::MCSymbolData const*) const + 428
6  libLLVM-3.4.so  0x00002ad7ee8c6562
7  libLLVM-3.4.so  0x00002ad7ee8dc9ad
llvm::MCAssembler::handleFixup(llvm::MCAsmLayout const&, llvm::MCFragment&,
llvm::MCFixup const&) + 109
8  libLLVM-3.4.so  0x00002ad7ee8dd7f3 llvm::MCAssembler::Finish() + 595
9  libLLVM-3.4.so  0x00002ad7eeb20b7b
10 clang           0x000000000062a9a1 cc1as_main(char const**, char const**,
char const*, void*) + 7329
11 clang           0x0000000000625c78 main + 1832
12 libc.so.6       0x00002ad7f07e4b05 __libc_start_main + 245
13 clang           0x0000000000627b4f
Stack dump:
0.    Program arguments: /usr/bin/clang -cc1as -triple x86_64-unknown-linux-gnu
-filetype obj -main-file-name multiboot.S -target-cpu x86-64
-fdebug-compilation-dir /data/code/c/mazix -dwarf-debug-producer clang version
3.4 (tags/RELEASE_34/final) -o kernel/src/machine/multiboot.o
/tmp/multiboot-367655.s 
1.    Program arguments: -triple x86_64-unknown-linux-gnu -filetype obj
-main-file-name multiboot.S -target-cpu x86-64 -fdebug-compilation-dir
/data/code/c/mazix -dwarf-debug-producer clang version 3.4
(tags/RELEASE_34/final) -o kernel/src/machine/multiboot.o
/tmp/multiboot-367655.s 
0  libLLVM-3.4.so  0x00002ad7ef1e83f2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  libLLVM-3.4.so  0x00002ad7ef1e81dc
2  libpthread.so.0 0x00002ad7f009b870
3  libLLVM-3.4.so  0x00002ad7ee8daa5b
llvm::MCAsmLayout::ensureValid(llvm::MCFragment const*) const + 27
4  libLLVM-3.4.so  0x00002ad7ee8db139
llvm::MCAsmLayout::getFragmentOffset(llvm::MCFragment const*) const + 9
5  libLLVM-3.4.so  0x00002ad7ee8db2ec
llvm::MCAsmLayout::getSymbolOffset(llvm::MCSymbolData const*) const + 428
6  libLLVM-3.4.so  0x00002ad7ee8c6562
7  libLLVM-3.4.so  0x00002ad7ee8dc9ad
llvm::MCAssembler::handleFixup(llvm::MCAsmLayout const&, llvm::MCFragment&,
llvm::MCFixup const&) + 109
8  libLLVM-3.4.so  0x00002ad7ee8dd7f3 llvm::MCAssembler::Finish() + 595
9  libLLVM-3.4.so  0x00002ad7eeb20b7b
10 clang           0x000000000062a9a1 cc1as_main(char const**, char const**,
char const*, void*) + 7329
11 clang           0x0000000000625c78 main + 1832
12 libc.so.6       0x00002ad7f07e4b05 __libc_start_main + 245
13 clang           0x0000000000627b4f
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang integrated assembler command failed due to signal (use -v
to see invocation)
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: 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.
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/multiboot-7ce6f6.S
clang: note: diagnostic msg: /tmp/multiboot-7ce6f6.sh
clang: note: diagnostic msg:</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>