It should be as simple to change toolchain as it is to change libc. There's a few places where gcc is hardcoded such as base.bbclass: BASE_DEFAULT_DEPS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc" meta-clang defines a TOOLCHAIN variable that can be set to gcc or clang, and changes what compiler is being used. I think this should end up pulling in an include file such as the way TCLIBC is used, and oe-core can provide toolchain-gcc.inc with meta-clang providing toolchain-clang.inc. Hopefully this will let us remove the nasty in clang.bbclass (https://github.com/kraj/meta-clang/blob/master/classes/clang.bbclass)
This worked fine in 2.4 M2. Fails with latest
(In reply to comment #2) > This worked fine in 2.4 M2. Fails with latest Sorry - I commented and modified the wrong Bug here
We might just make this in time for M3.
This merged in oe-core 45bdedd213aff8df3214b95ef2a8551c0abd93a0.