https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125982

            Bug ID: 125982
           Summary: RFC: coverage: build_info() embeds the absolute path
           Product: gcc
           Version: 15.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: andrej.kozemcak at siemens dot com
  Target Milestone: ---

Created attachment 64849
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64849&action=edit
Proposal patch how fix the issue

Hi,

This is a similar bug as I mention in this bug issue:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125980
Build_info() function in coverage embeds the absolute path of the .gcda data
file
We hit this issue when we build our projects in Yocto/OpenEmbedded
cross build and our pipelines and then Yocto build fails QA check [buildpaths]
because of the unmapped TMPDIR path. With AI help we found the issue and
prepare a paths witch fix that issue, see attachment files. The patch contain
more information about the issue.
I have less knowledge about that problematic, because that we create RFC bug
with suggested patch, which we prepare with AI help. We are interested in your
opinion, what you think about the issue and the patch.

Thank you

Reply via email to