CMLFS Clang LLVM Support - dslm4515/BMLFS GitHub Wiki

List of packages that fail to build under clang, but fine with GCC

  • GRUB
  • libedit
  • efibootmgr (cannot find efivar.h)
  • graphite (expects libgcc_s.so)
  • Bluez
  • pcre (not pcre2. Configure script cannot find libbz2)

List of packages that fail to build under clang AND gcc. Likely requires a system with GCC as primary toolchain

  • rust fails to build with clang. Errors with unresolved symbols from libLLVM.so. If build using gcc, build still fails as build tries to compile with -stdlib=c++... perhaps need to modify build to build rust ENTIRELY with a bootstrap rust toolchain. Thanks to patches from Chimera Linux, rust compiler can be compiled by clang.