http://llvm.org/bugs/show_bug.cgi?id=20019

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to