LLVM Clang Should Be Able To Build Linux 5.9 x86 32-bit Kernels

While most distribution vendors are phasing out 32-bit support except for the likes of select libraries needed by the likes of Steam or different printer software and other isolated use-cases running in an x86_64 environment, with the Linux 5.9 cycle it's set to be the first where mainline LLVM Clang can build the mainline Linux kernel for 32-bit x86 targets.
Patches have been around for a while but now following multiple rounds of review, the code is queued for making it into Linux 5.9 for providing i386 Clang support.
Another achievement for Clang'ing the kernel that may help those still concerned about x86 32-bit support and wanting to use a single compiler for building all supported architectures. Using Clang to build the Linux kernel can provide better diagnostics, ensure better code portability in being able to build under multiple compilers (i.e. eliminating GCC'isms), depending upon the configuration can yield better compile times, and similar benefits.
2 Comments