News for hackers. Stuff that matters.
Re:Moving the Linux Kernel to Modern C by lupire on Thursday February 24, 2022 @06:44PM (#30461936)
Can clang compile vanilla kernel without Google's forks?
Re:Moving the Linux Kernel to Modern C by elevader on Friday February 25, 2022 @05:50AM (#30465852)
AFAIK it can. They actually spent quite a considerable amount of effort implementing all of the gcc extensions to do so. There is even documentation for that: https://www.kernel.org/doc/html/latest/kbuild/llvm.html
Re:Moving the Linux Kernel to Modern C by electroly on Thursday February 24, 2022 @06:48PM (#30461971)
Apparently OpenMandriva also uses a clang-built kernel, presumably not a Google fork. I have no personal knowledge about OpenMandriva though.
Re:Moving the Linux Kernel to Modern C by karlding on Friday February 25, 2022 @05:16AM (#30465646)
Do you consider the ClangBuiltLinux project [0] a Google fork?

[0] https://clangbuiltlinux.github.io/

Re:Moving the Linux Kernel to Modern C by gsnedders on Friday February 25, 2022 @10:26AM (#30468243)
Clang 9.0+ & Linux 5.3+ work for x86_64; I believe it's been possible to compile arm64 for longer.