Originally posted by coder
View Post
Announcement
Collapse
No announcement yet.
Profile Guided Optimizations (PGO) Likely Coming To Linux 5.14 For Clang
Collapse
X
-
This is just another marketing attempt at pushing Clang to become the default compiler for all distros instead of GCC because they hate GNU and what it stands for. I don't care and I'll compile Linux with GCC/anything else until it becomes impossible to do so.
- Likes 4
Comment
-
Originally posted by r08z View PostThis is just another marketing attempt at pushing Clang to become the default compiler for all distros instead of GCC because they hate GNU and what it stands for. I don't care and I'll compile Linux with GCC/anything else until it becomes impossible to do so.
it's good that I don't care and I will continue to compile anything with any compiler that gives a performance improvement.
- Likes 2
Comment
-
Originally posted by alex19EP View Post
This is just another unwarranted accusations because Unfortunately, there are people who believe in conspiracy theories.
it's good that I don't care and I will continue to compile anything with any compiler that gives a performance improvement.
Comment
-
Originally posted by r08z View PostThis is just another marketing attempt at pushing Clang to become the default compiler for all distros instead of GCC because they hate GNU and what it stands for.
- Likes 2
Comment
-
Originally posted by CommunityMember View PostThose that believe in meritocracy would believe that the best compiler should win, regardless of the whether it is GCC or LLVM (or something else). Right now, it is clear LLVM is where the action is, and the best results are. Nothing stops you from improving the kernel (and GCC) to make sure it remain a viable choice. I would encourage you to do so (there have been patches floating around for quite some time for GCC LTO of the kernel, so that might be a place for you to start).
I will simply compile the kernel with Clang, knowing that Torvalds hates GCC. It is simply the smarter choice to use Clang as I do not want to get caught up in the fight. I am however aware of the nonsense and choose GCC for most other things, unless again I see a good reason not to.
As you say, meritocracy should always win, but sometimes it does not and it takes a little time.Last edited by sdack; 14 June 2021, 06:34 AM.
- Likes 2
Comment
-
Originally posted by sdack View PostThat is actually not true. Andi Kleen wrote the LTO support for GCC all the way back to kernel 3.7. Torvalds just never wanted it in the kernel.
knowing that Torvalds hates GCC
(*) I think that those initial patches came with certain caveats, like "experimental, don't use", and the data to support the claimed improvements were not there, so those and others were all contributory factors in the rejection, at that time.
(**) Hate is often more of an emotional reaction. Dislike, or despise, tends to come with specific reasons.
- Likes 2
Comment
-
Originally posted by CommunityMember View Post(*) I think that those initial patches came with certain caveats, like "experimental, don't use", and the data to support the claimed improvements were not there, so those and others were all contributory factors in the rejection, at that time.
Torvalds then took up parts of the GCC LTO patches. However not in favour of GCC LTO, but because hidden issues within the kernel had surfaced from its implementation. So parts of the patches were taken up as regular fixes.
- Likes 1
Comment
-
Originally posted by sdack View PostThat is actually not true. Andi Kleen wrote the LTO support for GCC all the way back to kernel 3.7. Torvalds just never wanted it in the kernel. It was then that Google picked it up, used it for LLVM/Clang and pushed it that we now have it in the mainline kernel. Andi Kleen keeps updating the patches for GCC LTO support but so far have these not made it into the kernel. There certainly is a bias here and Torvalds is known for his grudges against GCC.
- Likes 2
Comment
Comment