Problem solved! It was not related to LDC. It was lead from mess-up of archievers ar, llvm-ar-7 and llvm-ar-9, which lead to creation of .a files what can't be readed properly by clang Thanks to all who tried to help! :-)