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

            Bug ID: 42809
           Summary: AArch64: -mcpu=native -fno-integrated-as should pass
                    the evaluated CPU, not native
           Product: clang
           Version: 8.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Compiling any code on AArch64 using "-mcpu=native -fno-integrated-as", with GNU
assembler 2.32, gives the following error:

Assembler messages:
Error: unknown cpu `native'
Error: unrecognized option -mcpu=native
clang-8: error: assembler command failed with exit code 1 (use -v to see
invocation)

So, for compatibility, clang should evaluate the native CPU before passing it
to the assembler.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to