Regarding the issue: The cause for it remains elusive to me. There is a bug happening on Debian's i386 buildds which apparently is the same thing that's happening on the armhf architecture, but I failed to reproduce it locally (built LDC 8 times in a row in a pristine Sid chroot with no failure, while it always FTBFS in Debian unstable).
I have no idea on what could cause the bug, I did even read the LDC code section where this issue occurs a few times to check for some potential 64bit <-> 32bit fallacies but the code looks fine to me. I don't really know how to debug this further. The most puzzling thing is that this particular bug seems to be Debian specific, as no other distro shipping LDC has this issue (no issue in Fedora, OpenSUSE, etc.). As soon as there is a solution to this issue, I think I could upload LDC, Tilix, and AppStream Generator as well as their dependencies to Stretch backports. Cheers, Matthias