[llvm-bugs] [Bug 45225] New: clang rGaf64948e2a05 fails to build the arm64 Linux kernel
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 17 08:39:42 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45225
Bug ID: 45225
Summary: clang rGaf64948e2a05 fails to build the arm64 Linux
kernel
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: samitolvanen at google.com
CC: cameron.mcinally at nyu.edu, diana.picus at linaro.org,
efriedma at quicinc.com, graham.hunter at arm.com,
htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
ndesaulniers at google.com, neeilans at live.com,
rengolin at gmail.com, richard-llvm at metafoo.co.uk,
sander.desmalen at arm.com
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200317/5414cd16/attachment.html>
More information about the llvm-bugs
mailing list