<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 - clang rGaf64948e2a05 fails to build the arm64 Linux kernel"
   href="https://bugs.llvm.org/show_bug.cgi?id=45225">45225</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang rGaf64948e2a05 fails to build the arm64 Linux kernel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </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>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>samitolvanen@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>cameron.mcinally@nyu.edu, diana.picus@linaro.org, efriedma@quicinc.com, graham.hunter@arm.com, htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, ndesaulniers@google.com, neeilans@live.com, rengolin@gmail.com, richard-llvm@metafoo.co.uk, sander.desmalen@arm.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Starting with commit af64948e2a050d1ef3b7fd314ed07b2a2fe402a5
("[SVE][Inline-Asm] Add constraints for SVE ACLE types"), the ToT arm64 Linux
kernel fails to build due to an error in inline assembly:

In file included from kernel/sched/core.c:9:
In file included from kernel/sched/sched.h:5:
In file included from ./include/linux/sched.h:14:
In file included from ./include/linux/pid.h:5:
In file included from ./include/linux/rculist.h:11:
In file included from ./include/linux/rcupdate.h:30:
./arch/arm64/include/asm/processor.h:280:15: error: invalid operand for inline
asm constraint 'p'
        asm volatile("prfm pldl1keep, %a0\n" : : "p" (ptr));
                     ^

This can be reproduced by checking out the latest kernel tree and building the
arm64 defconfig with CC=clang. Reverting the commit from clang fixes the issue.</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>