<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Fatal error on inline asm(".section xxx")"
   href="https://bugs.llvm.org/show_bug.cgi?id=44457">44457</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Fatal error on inline asm(".section xxx")
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </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>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ch3root@openwall.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=22986" name="attach_22986" title="preprocessed source">attachment 22986</a> <a href="attachment.cgi?id=22986&action=edit" title="preprocessed source">[details]</a></span>
preprocessed source

Aleksey Cherepanov communicated to me the following testcase. clang hits a
"fatal error" while trying to compile it.

----------------------------------------------------------------------
void f()
{
    __asm__(".section xxx");
}
----------------------------------------------------------------------
$ clang test.c 
error: Cannot represent a difference across sections
fatal error: error in backend: Size expression must be absolute.
clang-10: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 10.0.0 (<a href="https://github.com/llvm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>
1737cc750c464b454ec14b397ce1b7cf504e17a7)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/user/cc/clang/bin
clang-10: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang-10: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/test-850ec9.c
clang-10: note: diagnostic msg: /tmp/test-850ec9.sh
clang-10: note: diagnostic msg: 

********************
----------------------------------------------------------------------

The same happens with __asm__(".pushsection xxx");</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>