LWN.net Logo

Distributions looking at LLVM

Distributions looking at LLVM

Posted Mar 25, 2012 20:28 UTC (Sun) by rgmoore (subscriber, #75)
In reply to: Distributions looking at LLVM by PaXTeam
Parent article: Distributions looking at LLVM

That may represent a difference in emphasis. If your main goal is to get the compile working, you may be willing to patch whatever gets you there with the least effort, whether it's the compiler or the kernel source. But if your main interest is in improving the compiler so it can compile anything that GCC can, you have to stick with a vanilla kernel source and keep patching the compiler until it works.


(Log in to post comments)

Distributions looking at LLVM

Posted Mar 25, 2012 22:53 UTC (Sun) by PaXTeam (subscriber, #24616) [Link]

> But if your main interest is in improving the compiler so it can compile anything that GCC can[...]

clang developers do not want to achieve this, see http://clang.llvm.org/compatibility.html and http://clang.llvm.org/docs/UsersManual.html for some of the details (linux gets bitten by VLAs in structures and nested functions, among others).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds