https://github.com/llvm/llvm-project/issues/23280 https://reviews.llvm.org/D64148 This is consistently appearing to be related to GC'ing of sections. I.e. try ``--no-gc-sections``. Alternatively it may be better to swap over to the linked list approach, but you'll need to compile ldc to switch it over.