It seems always building mesa with --with-llvm-shared-libs solves the issue

Removing llvm from the overlay again