On Thu, 19 Oct 2023 at 07:26, Stephan Bergmann <sbergman@xxxxxxxxxx> wrote: > On 10/18/23 23:08, David Gerard wrote: > > I just tried again from a completely fresh git clone, and it's still > > happening. Any ideas? Is there anything in the new C++20 conf that's > > too new for llvm 14.0.0 Ubuntu version? > Smells like a bug in that particular version of Clang. I'd follow the > printed instructions to report it, either directly upstream at LLVM or > (presumably better) at Ubuntu first. So rather than file a bug and wait, I first tried a newer version of clang, and clang-15 worked. Hooray! Here's what I did: # Become root sudo -s # install clang-15 apt remove llvm-14 clang-14 libclang-cpp14 libclang1-14 apt autoremove apt install clang-15 llvm-15 libclang-cpp15 libclang1-15 # put its binaries in the path - no, there doesn't seem to be a more elegant way cd /usr/lib/llvm-15/bin for f in *; do rm -f /usr/bin/$f; ln -s ../lib/llvm-15/bin/$f /usr/bin/$f; done and then get out of root and ./autogen.sh - d.