Skip to content

LLVM warnings on mips* when using -C target-cpu=native #61440

Closed
@infinity0

Description

@infinity0

This is causing the cargo 0.35.0 tests to fail on mips* - e.g. mips64el.

$ rustc --version
rustc 1.34.2
$ cat hello.rs
fn main() {}
$ rustc -C target-cpu=native hello.rs
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
'generic' is not a recognized processor for this target (ignoring processor)
[..]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-codegenArea: Code generationC-bugCategory: This is a bug.O-MIPSTarget: MIPS processorsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions