MaskRay added a comment. For ELF, both linkers (GNU ld,gold,LLD) and loaders (glibc,musl,FreeBSD rtld,etc) report undefined symbols only when relocations are present. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D94371/new/ https://reviews.llvm.org/D94371