Re: F36 Change: MinGW environment and toolchain update (System-Wide Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Aug 09, 2021 at 02:06:44PM -0400, Ben Cotton wrote:
> https://fedoraproject.org/wiki/Changes/F36MingwDebugLocation
> 
> == Summary ==
> Store debug files of mingw PE binaries below /usr/lib/debug.
> 
> == Owner ==
> * Name: [[User:smani|Sandro Mani]]
> * Email: manisandro@xxxxxxxxx
> 
> 
> == Detailed Description ==
> 
> Native debug symbols are already stored below /usr/lib/debug. This
> change modifies `mingw-find-debuginfo.sh`, 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`
> 
> `%{mingw64_libdir}/plugindir/`
> 
> where `%{mingw64_libdir}/plugindir/` contains both say
> `libfooplugin.dll` as well as `libfooplugin.dll.debug`.
> 
> == Scope ==
> * Proposal owners:
> `mingw-find-debuginfo.sh` will be updated to store debug symbols below
> `/usr/lib/debug`, as follows:
> 
> [https://src.fedoraproject.org/fork/smani/rpms/mingw-filesystem/c/3304db326541cbe51dc37f520f977cfbd6e50221?branch=f36-debug-change
> Store debug files below /usr/lib/debug]
> 
> * Other developers:
> `%exclude`s of `*.debug` files can be dropped from spec files.
> 
> * Release engineering: Impact check [https://pagure.io/releng/issue/10257]
> * 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`.
> 
> == Dependencies ==
> None
> 
> == 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.

Looks generally sensible.

Out of interest (not an objection) do any Fedora tools actually
consume these debug symbols?  For example is there a way to use them
from Wine?

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux