From Fedora Project Wiki

< Changes

Revision as of 15:18, 9 August 2021 by Smani (talk | contribs) (Created page with "<!-- Self Contained or System Wide Change Proposal? Use this guide to determine to which category your proposed change belongs to. Self Contained Changes are: * changes to is...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MinGW environment and toolchain update


Store debug files of mingw PE binaries below /usr/lib/debug.


Current status

  • Targeted release: Fedora 36
  • Last updated: 2021-08-09
  • FESCo issue: <will be assigned by the Wrangler>
  • Tracker bug: <will be assigned by the Wrangler>
  • Release notes tracker: <will be assigned by the Wrangler>

Detailed Description

Native debug symbols are already stored below /usr/lib/debug. This change modifies, part of mingw-filesystem, to do the same.

Benefit to Fedora

Besides alignment with debuginfo symbols of native packages, this avoids an easy to hit issue for mingw packagers where .debug files end up in the main package, i.e.

%files -n mingw64-libfoo


where %{mingw64_libdir}/plugindir/ contains both say libfooplugin.dll as well as libfooplugin.dll.debug.


  • Proposal owners: will be updated to store debug symbols below /usr/lib/debug, as follows:

Store debug files below /usr/lib/debug

  • Other developers:

%excludes of *.debug files can be dropped from spec files.

  • Release engineering: Impact check [1]
  • Release engineering: Mass rebuild requested
  • Policies and guidelines: No policies need to be changed

Upgrade/compatibility impact

No impact

How To Test

Verify that *.debug files are stored below /usr/lib/debug.

User Experience

*.debug files are stored below /usr/lib/debug.



Contingency Plan

  • Contingency mechanism: Revert to older versions of environment / toolchain, mass rebuild mingw packages again
  • Contingency deadline: Before release
  • Blocks release? Yes
  • Blocks product? No

Release Notes

From Fedora 36 onwards, debug symbols for mingw binaries will be stored below /usr/lib/debug.