[llvmlinux] Kernel clang patches rebased to master
stefan at agner.ch
Mon Apr 17 07:03:40 UTC 2017
Based on your work, I did a rebase ontop of 4.11-rc7 and compiled for
ARMv7 (NXP i.MX 7 to be specific). I removed some x86/MIPS specific
patches and had to add some arm specific changes. It compiles fine now,
boot looks good but as soon as user space kicks in the kernel crashes
with "Unable to handle kernel paging request" at fairly random places.
The same source tree works fine with gcc. I need to further debug it,
but in case you have ideas...
My current tree is here:
On 2017-02-23 11:59, Bernhard Rosenkränzer wrote:
> I've rebased all the clang patches to the mainline kernel. The new tree still lives in the
> repository, master-clang branch (but it's somewhat misnamed because this branch doesn't have the Hikey or Android patches -- the android-hikey-linaro-4.9-clang branch in the same repository does).
> It compiles for both aarch64 and x86_64 with fairly complete configs, but currently fails to boot on my notebook (hopefully different hardware will behave better ;) ).
> Patch count is down to 30, some of which are simple enough to go upstream.
> I've tested with clang 4.0-rc2, results with older versions may vary (I've intentionally dropped a couple of patches that were workarounds for bugs in old clang -- they likely wouldn't get accepted upstream anyway, given "fix the compiler" is actually the right advice there, and that advice has been followed already ;) ).
> LLVMLinux mailing list
> LLVMLinux at lists.linuxfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LLVMLinux