On 08/05/18 14:01, Jan Kratochvil wrote:
On Sun, 05 Aug 2018 13:39:58 +0200, Charalampos Stratakis wrote:
Here we are referring to the python2-debug or python3-debug builds, which
are just extra python builds that are compiled with the --with-pydebug flag

Not just --with-pydebug:

------------------------------------------------------------------------------
%if %{with debug_build}
BuildPython debug \
   "--without-ensurepip --with-pydebug" \
   "-O0"
%endif # with debug_build

BuildPython optimized \
   "--without-ensurepip %{optimizations_flag}" \
   ""
------------------------------------------------------------------------------

Many packages have their *-debug variants. And then some packages (like
kernel) switch even their standard builds to debug mode but only in Rawhide.
Despite all that the *-debug package one occasionally needs is then missing
and one still has to build it locally.

That is all together messy. This is why Microsoft has their debug build of
their whole OS - Windows - called Checked Build:
        
https://docs.microsoft.com/en-us/windows-hardware/drivers/devtest/checked-and-free-build-differences

The main issue with --with-pydebug is that it changes the ABI, i.e. all extensions need to be re-built specifically for it (and debug extensions outside the standard library aren't usually packaged in Fedora). That makes it much less useful than if it just used less optimizations.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/4E32NGEBSVXDBVFP5UOMSKADV3EU2GAU/

Reply via email to