[llvm-bugs] [Bug 31089] New: [ELF] 0 LLD seems handles input format binary wrong.
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 21 03:21:26 PST 2016
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: unassignedbugs at nondot.org
Reporter: grimar at accesssoftek.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161121/2cb2da88/attachment.html>
More information about the llvm-bugs
mailing list