__clang_call_terminate referenced in ...; defined in discarded section

I am looking for hints on what could be the cause for the following error: