LLVM每日谈之二十三 LLVM/Clang编译Linux内核资料
作者:史寧寧(snsn1984)
之前有朋友問到這個問題,是否有使用LLVM/Clang編譯Linux內核的,隨手找了一些相關資料,在這里貼出來,與大家共享。
網址:http://llvm.linuxfoundation.org
項目簡介:
LLVMLinux Project Overview
This project aims to fully build the?Linux kernel?using?Clang?which is the C front end for the?LLVM?compiler infrastructure project. Together Clang and LLVM have many positive attributes and features which many developers and system integrators would like to take advantage of when developing and deploying the Linux Kernel as a part of their own projects.
The hope is that this project will help reduce duplicate work, as well as concentrate, and accelerate efforts around this subject matter in order to allow Linux Kernel developers, and system integrators to have the choice of a Clang compiled Linux kernel. The goal is for this project to be a testing/proving ground for these updates and to get patches that make this possible upstream to their respective projects.
The LLVMLinux project consolidates the work of the lll-project, the PAX team, and Mark Charlebois' work on the ARM kernel.
There have been several?presentations and articles?on this topic if you wish to learn more about the reasons for this project.
Currently the work is centred around the ARM, x86, x86_64, and MIPS architectures but contributions to support other architectures are welcome.?Patches accepted!
Interested parties will be holding a Bi-weekly Google Hangout to discuss project status and goals.
最新進展情況,從新聞稿中可以看出:
Features You Won't Find In The Linux 4.9 Mainline KernelWritten by?Michael Larabel?in?Linux Kernel?on 19 October 2016 at 07:18 AM EDT.?17 Comments...
LLVM Clang Building?- The mainline kernel still can't build cleanly under the LLVM Clang compiler.?The LLVMLinux project slowed down a lot?but hopefully developers will get back to working on this support in the not too distant future.?
...
新聞鏈接:http://www.phoronix.com/scan.php?page=news_item&px=Linux-4.9-Stuff-Not-Mainline
至少到2016年10月19日,該新聞發布的時候,還無法正常支持主線的內核編譯。同時,也號召有興趣的朋友們積極參與該項目。
另外,該項目的郵件列表為:?llvmlinux@lists.linuxfoundation.org.
總結
以上是生活随笔為你收集整理的LLVM每日谈之二十三 LLVM/Clang编译Linux内核资料的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 「Android」 详细全面的基于vue
- 下一篇: 通过钉钉群聊机器人推送zabbix告警