<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_CONFIRMED "
   title="CONFIRMED - ARM64 outline atomic helpers are built using the C compiler"
   href="https://bugs.llvm.org/show_bug.cgi?id=48494">48494</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ARM64 outline atomic helpers are built using the C compiler
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>compiler-rt
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>CONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>builtins
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pavel.iliin@arm.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>raul@tambre.ee
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Assembly files should not be compiled as C and instead use CMake's assembly
language support to allow for vendors and users to specify flags, compiler
options, use a different executable, have correct architecture flags, interact
properly with toolchain files, etc.

The compiler-rt ARM64 outline atomic helpers are a new and the only case of
this improper usage in the codebase.
It seems these should use the already-existing compiler-rt add_asm_sources()
helper.

Previous occurrences of this were fixed by
<a href="https://github.com/llvm/llvm-project/commit/45344cf7ac5b848f77825ffa37b0cb3b69b9b07b">https://github.com/llvm/llvm-project/commit/45344cf7ac5b848f77825ffa37b0cb3b69b9b07b</a>.
The improper usage resulted in multiple reports from users and vendors,
requiring a backport to resolve build issues.
It would be best to avoid a recurrence of the problems. Marking as a release
blocker due to this.

Pavel, could you take a look at this?</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>