nikic wrote: I'm still somewhat confused about why that one file in particular is problematic, but I guess if this works it's fine. Would making these OBJECT instead of STATIC libraries avoid the issue perhaps? https://github.com/llvm/llvm-project/pull/133850