Re:OpenMandriva, the first Clang-built Linux distribution
by ndesaulniers on Sunday June 16, 2019 @01:45PM
(#20196817)
False! Mainline builds cleanly for most arches with clang.
[ Parent
| on HN ]
Re:OpenMandriva, the first Clang-built Linux distribution
by BurningCycles on Monday June 17, 2019 @04:45AM
(#20201042)
But is the result stable ? I remember bulding it with some patches a year or two ago, and while it compile fine, it crashed horribly when booting.
Re:OpenMandriva, the first Clang-built Linux distribution
by Conan_Kudo on Sunday June 16, 2019 @02:45PM
(#20197163)
Not with any released version of clang, but yes, it works with snapshots of git master...
Re:OpenMandriva, the first Clang-built Linux distribution
by ndesaulniers on Sunday June 16, 2019 @05:11PM
(#20197920)
Again, false! This is highly dependent on:
1. What arch are you targeting.
2. What version of Linux are you trying to build? Mainline, stable, next?
3. What configs are you trying.
4. What version of clang are you using.
For example, pixel 2 kernel is arm64, 4.4 stable kernel, limited configs, and clang-4.
Things for the most part are pretty green with released versions of clang. There are some long tail configs or combos of the above, but it's pretty minimal and we have a good handle on them.
Re:OpenMandriva, the first Clang-built Linux distribution
by Conan_Kudo on Sunday June 16, 2019 @09:41PM
(#20199167)
I'm mainly working off our experience in OpenMandriva, so at least for your standard general-purpose Linux distribution, it doesn't work yet.