rust-lang / rust-lang/rust

[regression] Linker warnings when building Miri on macOS

Open
#161,561 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-miri C-bug needs-triage O-macos
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Since recently, Miri shows linker warnings when when building on macOS:

  warning: linker stderr: ''+zcm' is not a recognized feature for this target (ignoring feature)
           '+zcz' is not a recognized feature for this target (ignoring feature)
           +zcm' is not a recognized feature for this target (ignoring feature)
           '+zcz' is not a recognized feature for this target (ignoring feature)
           '+zcm' is not a recognized feature for this target (ignoring feature)
           '+zcz' is not a recognized feature for this target (ignoring feature)
           '+zcm' is not a recognized feature for this target (ignoring feature)
           '+zcz' is not a recognized feature for this target (ignoring feature)
           '+zcm' is not a recognized feature for this target (ignoring feature)
           '+zcz' is not a recognized feature for this target (ignoring feature)
...

Miri regression range: https://github.com/rust-lang/miri/compare/3807a616c9bc253240e6273045aa69ac7fcc2f0c...4fbd74609f426a0cc8f1882141eb5080fb3f14a2
Rustc regression range: https://github.com/rust-lang/rust/compare/73dc9167f1cd099e525c9ade2e068d1907b78564...7218ebe93668f51a94a572b690c433dfdbdc2c3d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce a Miri build on macOS and inspect the changes in the linked Miri and Rustc regression ranges first. Compare the relevant target and linker configuration across those ranges; done means the macOS build no longer emits the unrecognized +zcm and +zcz feature warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
build-system, compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.