12
Demonstrated with the kernel running openSUSE Linux, assembled by Clang
by admin ·
OpenSUSE developers have submitted a video , which demonstrated the process of downloading and distribution of work in a graphical environment, using the kernel Linux, assembled using Clang compiler instead of GCC. The assembly carried out taking advantage of developments of the project LLVMLinux , developed with the participation of the Linux Foundation organization to solve problems with the assembly in the nucleus and promote Clang patches created in the upstream-projects (the Linux kernel and LLVM / Clang).
Using the Compiler Clang, licensed under the BSD, lets you use additional equipment optimization and diagnosis of problems, for example, to automate the identification of facts dereferencing pointers and other errors associated with incorrect operation of the memory. Originally developed in the project LLVMLinux Linaro initiative was aimed at assembling the core platform for ARM, but it was a month ago, providing support architectures x86_64 and i586 .
To simplify the formation of the assembly environment and cross-compile the kernel using Clang and LLVM prepared a special assembly tools.
Compiling the kernel for i586 and x86_64 architectures is fully functional and allows working system, which shows an example of openSUSE, but officially these nuclei are not yet ready for use in final products.
In addition, The Company now a daily process of benchmarking with the package Linux Test Project (LTP) of fresh alternative kernels compiled with GCC and Clang.
Tags: clang, environment, graphical, kernel, openSUSE
