[LLVMbugs] [Bug 20019] New: Clang doesn't pass -march to external linker

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 12 16:00:28 PDT 2014


            Bug ID: 20019
           Summary: Clang doesn't pass -march to external linker
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: charlebm at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12651
  --> http://llvm.org/bugs/attachment.cgi?id=12651&action=edit
log file showing clang and gcc compilations of aarch64 code with -march

Seems to be the same problem as Bug 14697 but it is happening again on trunk.

The -march option is not passed to the linker if -no-integrated-as is used, and
when ARMv8 crypto extensions are used, the assember complains that the
processor does not support the crypto instructions.

The linker can be given the -march option using -Wa,-march=foo but gcc passes
the -march option down without needing -Wa.

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/20140612/f93cb95d/attachment.html>

More information about the llvm-bugs mailing list