Skip to content

warning: could not find referenced DIE when compiling on macOS #82005

Closed
@djc

Description

@djc

I just did some of my first compiles with 1.50.0 and I'm getting these warnings:

  = note: warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o
          warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o
          warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o
          warning: could not find referenced DIE
          note: while processing /Users/djc/src/bolt/rust/target/release/deps/build_index.build_index.cf635v6f-cgu.15.rcgu.o

This was after running cargo run --release --bin build-index -- version in my (proprietary) project on macOS (Big Sur 11.2.1).

djc-2019 IDS-326/build-index-version rust $ cargo version
cargo 1.50.0 (f04e7fab7 2021-02-04)

I suspect this may have something to do with the split debuginfo stuff?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LTOArea: Link-time optimization (LTO)A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-bugCategory: This is a bug.O-macosOperating system: macOST-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