Skip to content

filter prefix maps from the embedded build flags - #1457

Merged
bynect merged 1 commit into
dunst-project:masterfrom
pslldq:repro
Mar 10, 2025
Merged

bynect merged 1 commit into
dunst-project:masterfrom
pslldq:repro

Conversation

@pslldq

@pslldq pslldq commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

To aid reproducible compilation there exist three compiler/linker commands to map build time dependent paths to generic paths: -fdebug-prefix-map, -fmacro-prefix-map and -ffile-prefix-map These allow compilations from different paths to generate the same paths in the resulting executable.

Including these flags in the executable defeats the purpose of leaking build paths into the executable. Therefore just filter them out.

To aid reproducible compilation there exist three compiler/linker
commands to map build time dependent paths to generic paths:
-fdebug-prefix-map, -fmacro-prefix-map and -ffile-prefix-map
These allow compilations from different paths to generate the
same paths in the resulting executable.

Including these flags in the executable defeats the purpose of
leaking build paths into the executable. Therefore just filter
them out.
@codecov-commenter

codecov-commenter commented Mar 10, 2025 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.57%. Comparing base (5b86352) to head (f9a8b5a).
⚠️ Report is 149 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1457      +/-   ##
==========================================
- Coverage   65.60%   65.57%   -0.03%     
==========================================
  Files          50       50              
  Lines        8910     8910              
  Branches     1044     1043       -1     
==========================================
- Hits         5845     5843       -2     
- Misses       3065     3067       +2     
Flag Coverage Δ
unittests 65.57% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bynect

bynect commented Mar 10, 2025

Copy link
Copy Markdown
Contributor

Thanks for pointing this out

@bynect
bynect merged commit ad210bb into dunst-project:master Mar 10, 2025
@pslldq
pslldq deleted the repro branch March 10, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants