https://sourceware.org/bugzilla/show_bug.cgi?id=33479

            Bug ID: 33479
           Summary: RFE: support suppressing certain objects from
                    --dependency-file reports
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: bugzilla.sourceware at me dot benboeckel.net
  Target Milestone: ---

In some toolchains, the frontend creates temporary object files when lining.
For example, ROCm's `amdclang++`'s `--offload-*` flag family creates extra
temporary object files derived from other files. These objects are then deleted
after the link step is over. However, when using `--dependency-file`, these
temporary objects are reported as dependencies which causes the command to
always be out-of-date because the reported files are removed by the frontend.

I propose a flag to mark such temporary frontend-created link-time object files
with a flag like `--no-dependency-report path/to/tmp.o` which just suppresses
their presence in the output `--dependency-file=` contents.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to