Open streaksu opened 5 years ago
This can be caused by a problematic host compiler, as LDC is linked against its druntime etc. I see you're using DMD 2.088.1, can you give another one a shot, preferably a prior version of LDC or GDC?
@streaksu any updates on this? Were you able to resolve the issue?
Setting CMAKE_BUILD_TYPE=RelWithDebInfo (as is done on Alpine) seems to fix this. Not sure about other build types, but the crash definitely occurs if a type is not specifically set.
When building ldc from source using musl as its libc on Void Linux I keep facing several segfaults such as:
and
Here is a travis log, it may be helpful.