sbc100 wrote: It seems perfectly reasonable to me to build tblgen for the host before compiling llvm for emscripten. Trying to pretend that emscripten is not a cross target is probably not worth the effort in this case. https://github.com/llvm/llvm-project/pull/118262