Sean MacLennan wrote:
Wrong. Not even you can compile it with Clang, (HOSTCC=clang
CC=clang), but link it with lld:
http://lists.llvm.org/pipermail/llvm-dev/2017-January/109288.html

Sorry, I should have said you can't compile a *working* kernel with
clang. They are close though, and I believe they will do it.

It still is wrong. I have been building working LTS kernels with clang
for a couple of years, without issues, deferring to binutils though.

The kernel didn't boot because of lld, not Clang.
The post is from almost two years ago though, and even overall
LLVM development is very active, lld is an even faster moving target.

--
caóc


Reply via email to