• Bug#1064476: dpkg-buildflags: add support for building with frame point

    From Matthias Klose@1:229/2 to All on Thu Feb 22 22:40:01 2024
    XPost: linux.debian.bugs.dist
    From: doko@debian.org

    This is a multi-part message in MIME format.
    Package: dpkg-dev
    Version: 1.22.1
    Severity: wishlist
    Tags: patch

    Please add support to enable to build with frame-pointer turned on. The compilers in unstable default to -fomit-framepointer, this turns on -fno-omit-framepointer plus an architecture specific option.

    To enable it, use

    DEB_BUILD_MAINT_OPTIONS="... qa=+framepointer"

    The chosen area might not be ideal, it could also be added to the
    optimize area, however it is a "negative" optimization.

    Currently the default is not changed in Debian.
    [SoupGate killed MIME-encoded file dpkg.diff (2700 bytes)]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Charlemagne Lasse@1:229/2 to All on Sun Mar 17 16:00:01 2024
    XPost: linux.debian.bugs.dist
    From: charlemagnelasse@gmail.com

    Control: merge 1064476 1058665 1058664

    I would even love to have finally a debian again which can be used to
    debug and profile production ready binaries (at least on amd64). See
    also

    * https://www.brendangregg.com/blog/2024-03-17/the-return-of-the-frame-pointers.html
    * https://ubuntu.com/blog/ubuntu-performance-engineering-with-frame-pointers-by-default
    * https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)