To follow up. According to https://bugs.llvm.org/show_bug.cgi?id=43722#c5, the issue was fixed 5 days ago in https://github.com/llvm/llvm-project/commit/343597789eba1e6482e130b0c1b0818b1432d311
But latest snapshot from http://apt.llvm.org/unstable/pool/main/l/llvm-toolchain-snapshot/ (from 2019-11-11), still fails to work with Mesa master / gcc 9 like this: /usr/bin/ld: /usr/lib/llvm-10/lib/libLLVMAMDGPUDisassembler.a: error adding symbols: archive has no index; run ranlib to add one collect2: error: ld returned 1 exit status Is there something still missing?