I wrote: > I have reproduced it on a genuine-Red-Hat RHEL 9 x86_64 machine, > but only when compiling with --with-llvm, and the error goes away > if I select CC=clang.
Also, a build with meson doesn't fall into the same trap. I'm not sure why, because I can't find where in the build.ninja file it's trying to make any .bc files other than llvmjit_types.bc --- and that, it's using clang for. regards, tom lane