Originally posted by dnebdal
View Post
Announcement
Collapse
No announcement yet.
Building Gentoo Linux With LLVM/Clang
Collapse
X
-
-
Originally posted by bulletxt View PostWith all the problems Linux has both on desktop and server side, someone should now please explain to me why is migrating to clang such an important and high priority task.
This is all a political bullshit story, someone doesn't like the GNU GPL license anymore.
Leave a comment:
-
Originally posted by bulletxt View PostWith all the problems Linux has both on desktop and server side, someone should now please explain to me why is migrating to clang such an important and high priority task.
This is all a political bullshit story, someone doesn't like the GNU GPL license anymore.
1: Compile Linux with LLVM/CLANG/ICC/etc.
2: Look for things that are faster than what GCC produces.
3: Figure out 'why' they are faster.
4: Implement what you have discovered (in step 3) in GCC.
The end result is a faster linux binary produced by GCC.
F
Leave a comment:
-
With all the problems Linux has both on desktop and server side, someone should now please explain to me why is migrating to clang such an important and high priority task.
This is all a political bullshit story, someone doesn't like the GNU GPL license anymore.
Leave a comment:
-
Third compiler
I hope a third (and forth) compiler shows up.
* Intel C Compiler
* Open64
* TCC
* PCC
Leave a comment:
-
Originally posted by dimko View PostGerntoo user here. Does it provide any advantage to use LLVM/Clang yet?
Anybody?
What is different is that clang compiles faster than gcc - if you build from source with portage it should save you a fair bit of time. It also produces much better error messages and warnings, which is rather nice if you're a developer. Finally, it's always smart to make sure you've got alternatives - if any political/personal/legal/technical issues show up for either compiler, there's a fallback (and the work done to make the code compile on both is probably beneficial if a third compiler shows up.)
Leave a comment:
-
Benchmarks
Cool!
Linux on x86-64 now apparently compiles with LLVM according to that website.
I look forward to seeing benchmarks of the Linux kernel compiled with GCC and LLVM.
Even if I am convinced that GCC will perform much faster.
It is still nice, because it allegedly improves code quality.
Are much patches needed to compile the Linux kernel under LLVM/Clang?
Leave a comment:
-
any advantage?
Gerntoo user here. Does it provide any advantage to use LLVM/Clang yet?
Anybody?
Leave a comment:
-
Building Gentoo Linux With LLVM/Clang
Phoronix: Building Gentoo Linux With LLVM/Clang
Following this weekend's news about Link-Time Optimization support for the Linux kernel, in the discussion that spawned, building the Linux kernel with the LLVM/Clang compiler was once again brought up...
Tags: None
Leave a comment: