We didn't switch to LLVM.clang because of some gcc <-> kernel issue. On
that time when we decided on this, i think we were not even aware of that
bug.

IIRC kernel is not yet ready at least official branch to be compiled with
clang.

I'm not an kernel expert but CONFIG_CC_OPTIMIZE_FOR_SIZE set to y (not
default value) may bring more bad rather good effects.



2014-07-28 11:23 GMT+02:00 Jeffrey Johnson <[email protected]>:

>
> > On Jul 28, 2014, at 4:54 AM, Tomasz Paweł Gajc <[email protected]> wrote:
> >
> > Yes we switched from gcc to clang for CC and CXX. Ofcourse software
> which can't be build with clang are handled by gcc.
>
> Switching to LLVM for user land has little to
> do with a kernel miscompilation using -Os.
>
> Justifying a switch to LLVM because of a GCC kernel
> bug is illogical too.
>
> Or are you truly claiming that you are compiling
> kernels with LLVM instead of GCC?
>
> 73 de Jeff


Reply via email to