[llvmlinux] Clang/LLVM for ARM rebase to 4.13
sedat.dilek at gmail.com
Mon Aug 7 09:35:28 UTC 2017
On Mon, Aug 7, 2017 at 9:17 AM, Stefan Agner <stefan at agner.ch> wrote:
> Fwiw, I rebased the Clang/LLVM patches required to build 32-bit ARM
> kernels to v4.13-rc4:
thanks for your feedback!
Do you happen to know (or have tested) the combination of Linux
v4.13-rc4 with x86_64 with your Git tree?
> I also run kernels built with Clang/LLVM 4.0.1 successfully (again,
> after I had issues with 4.0.0).
Did you try other versions of Clang (example: 3.9.x)?
Is this a self-compiled llvm-toolchain, prebuilt-toolchain (from
Linaro?) or offered by your $distro?
> The patch count dropped significantly since several Kbuild patches got
> merged recently.
Great to hear there is progress (to see patches I had in my own queue
are now in upstream ).
My personal opinion on llvmlinux (Clang): It is very helpful to make a
lot of warnings and errors visible.
Not happy why kbuild-patches which require a "cc-XXX" call are not
used by default (example see ).
Desired is a meachnism which handles this automagically, means check
if $compiler really supports $compiler-flag.
 is no more supported with recent Clang versions?
Embed in a cc-XXX-call instead?
Is your ext4-fix still necessary or fixed by  in upstream?
Looking at the list of  there are some more people doing good work
on getting stuff fixed with Clang.
What about the idea of co-working?
I have asked this a lot ob this mailing-list (I ask again):
What about an agreed development base using stable (released) versions
of llvm-toolchain, Linux-kernel (preferably LTS) release and
build-tools (binutils, llvm-$tools like assembler, linker, etc.).
It's a bit useless for me of not knowing how to reproduce ((re)build)
with your tree.
Example: You forgot to attach your kernel-config file, for me this is
Last but least, what is the plan to get some of your (for me obvious!)
To keep tons of patches downstream is not very wise.
(If you have no "plan a" or "plan b" the alphabet has 24 more letters :-).)
Looking forward reading from you!
- Sedat -
More information about the LLVMLinux