https://llvm.org/bugs/show_bug.cgi?id=23323

            Bug ID: 23323
           Summary: Handling of -m is broken
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

ldd will only accept "-m elf_x86_64" if the triple is x86. This means that
unlike gnu ld or gold to cross link one has to do something like

-flavor gnu -target x86_64-linux-gnu -m elf_x86_64

Just

-flavor gnu -m elf_x86_64

should be sufficient.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to