https://llvm.org/bugs/show_bug.cgi?id=31089
Bug ID: 31089 Summary: [ELF] 0 LLD seems handles input format binary wrong. Product: lld Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P Component: ELF Assignee: unassignedb...@nondot.org Reporter: gri...@accesssoftek.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17622 --> https://llvm.org/bugs/attachment.cgi?id=17622&action=edit cpio Faced this when tried to link FreeBSD kerned using lld. ===> drm2/radeonkmsfw/ARUBA_me (all) ARUBA_me.bin ARUBA_me.bin /root/Desktop/LLVM/build/bin/ld.lld: error: target emulation unknown: -m or at least one .o file required *** Error code 1 Reproduce file has next lines: --format=binary --no-warn-mismatch --define-common -warn-common --relocatable --define-common -o ARUBA_me.bin.fwo usr/obj/usr/src/sys/CUSTOM/modules/usr/src/sys/modules/drm2/radeonkmsfw/ARUBA_me/ARUBA_me.bin ld links fine, lld shows an error. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs