[yocto] using Clang Was: Minutes: Yocto Project Technical Team Meeting - Tuesday, November 05, 2013

Bruce Ashfield bruce.ashfield at windriver.com
Wed Nov 6 11:00:01 PST 2013


On 13-11-06 01:56 PM, Trevor Woerner wrote:
> On 5 November 2013 15:44, Liu, Song <song.liu at intel.com> wrote:
>>    - Randy: Any plan to add Clang? open source compiler. Developed by Apple.
>> Qualcomm is working on it.  RP: there are lots of other things. Not hearing
>> from tens of users on this. Welcome others to contribute.
>
> I'm curious to try Clang with OE too, but the last time I checked it
> still is not possible to build a valid kernel using Clang alone.
> Therefore I would assume if I wanted to use Clang it could only be for
> building user-space things and I'd still need a cross-gcc compiler for
> the kernel. Is that the current plan?

If we were to do it, I'd arrange to have enough of the patches from the
Clang team in the yocto kernel, to provide a valid building kernel. i.e.
it is possible now, just not with a stock kernel.

But it's all theoretical at the moment, since we aren't actually close
to trying anything yet :)

Bruce

> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>




More information about the yocto mailing list