Is LLVM10 still supported?

kinke noone at
Tue Oct 20 22:18:37 UTC 2020

On Tuesday, 20 October 2020 at 18:13:16 UTC, Ola Fosheim Grøstad 
> I am trying to build LDC, but get errors like this:
> Assertion failed: (Ty->isSized() && "Cannot getTypeInfo() on a 
> type that is unsized!"), function getTypeSizeInBits, file 
> /opt/local/libexec/llvm-10/include/llvm/IR/DataLayout.h, line 
> 625.

Sure, LLVM 6.0+ is supported. You're 'just' hitting an LLVM 
assertion here, probably because of an earlier LDC bug. As you 
hit it when building LDC, that's either the host compiler or the 
fresh compiler compiling druntime/Phobos.

More information about the digitalmars-d-ldc mailing list