免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3703 | 回复: 2
打印 上一主题 下一主题

LLVM's Clang Is Onto Building The Linux Kernel [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-10-27 11:49 |只看该作者 |倒序浏览
In February of this year the Clang C/C++ compiler for LLVM hit the milestone of self-hosting itself after Clang's C support was declared production ready (with the recently released LLVM 2.8, the C++ support is now deemed feature-complete) just last October. In April another achievement was reached for LLVM/Clang and that was building much of FreeBSD's base operating system. Today another milestone has been hit and that's building the Linux kernel for Debian to the point that it's functional and can run the X.Org Server both on bare metal and this can also be done within a QEMU virtualized environment.

Right now it's at least successfully building and hitting run-level five on an Apple MacBook running Debian GNU/Linux both on the hardware itself and virtualized. The kernel that this is being done with is Linux 2.6.36 using the x86_64 architecture with SMP. This build can also self-host itself with the developer reporting he's running a fourth-generation self-hosted Linux kernel built by LLVM/Clang and that the compiler build is also onto its fourth-generation build.

While kernel sub-systems like NUMA, SMP, the IPv4 networking stack, graphics drivers, and other drivers/firmware are being built, there still though are some things being left out of this Clang Linux kernel build. Some of the items not building right now are SELinux, POSIX ACLs, eCrypt, IPv6, anything using the crypto API, and Xen virtualization. The other huge caveat right now to this Linux kernel built by CLang is that kernel module loading is completely broken.

Bryce Lelbach, the developer announcing this work, is hoping to have the kernel in a much more Clang-friendly state in the coming months to the point that it could be considered production quality if using his Git repository that will contain these patches for Clang building.

The announcement of achieving this feat can be found in this email.

论坛徽章:
2
摩羯座
日期:2013-10-10 14:29:04天蝎座
日期:2014-01-03 09:14:49
2 [报告]
发表于 2010-10-27 12:45 |只看该作者
Good news.

论坛徽章:
0
3 [报告]
发表于 2010-12-05 21:01 |只看该作者
路过,留个脚印
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP