[LLVMbugs] [Bug 23323] New: Handling of -m is broken

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 22 11:43:11 PDT 2015


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: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150422/0ea53772/attachment.html>


More information about the llvm-bugs mailing list