Re: [llvmlinux] percpu | bitmap issue? (Cannot boot on bare metal due to a kernel NULL pointer dereference)

From: Peter Zijlstra
Date: Wed Sep 09 2015 - 08:54:47 EST


On Wed, Sep 09, 2015 at 12:05:50PM +0200, Sedat Dilek wrote:
> I can boot into a CLANG v3.7 compiled Linux-kernel when lib/bitmap is
> compiled with GCC (here: v4.9).
>
> CONFIG_OPTIMIZE_INLINING has no effect on this.
>
> Attached are the single llvmlinux patch for AMD64 (x86_64), my
> kernel-config and 2 objdumps with bitmap.o file alltogether.

I suggest you go tell the LLVM people their compiler is broken.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/