[Bug 2083937] Re: [SRU] Enable frame-pointer on Noble in update-notifier
Alessandro Astone
2083937 at bugs.launchpad.net
Wed Apr 2 09:06:26 UTC 2025
Verified update-notifier=3.192.68.1 in Ubuntu 24.04.2 LTS
update-notifier runs normally.
Installed dbgsym from https://launchpad.net/ubuntu/+archive/primary/+files/update-notifier-dbgsym_3.192.68.1_amd64.ddeb
Run the script at https://gist.github.com/julian-klode/85e55553f85c410a1b856a93dce77208
Output:
/usr/bin/update-notifier elf
/usr/bin/update-notifier unit <artificial> produced-by GNU GIMPLE 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -g -O2 -O2 -fno-openmp -fno-openacc -fPIC -fcf-protection=full -fasynchronous-unwind-tables -fno-omit-frame-pointer -fstack-protector-strong -fstack-clash-protection -fcf-protection=full -ffat-lto-objects -fltrans
/usr/bin/update-notifier unit update-notifier.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit rfc822.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit hooks.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit reboot.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit crash.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit livepatch-tray.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit livepatch-utils.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit update.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit release.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit uevent.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
/usr/bin/update-notifier unit trayappletui.c produced-by GNU C17 13.3.0 -mno-omit-leaf-frame-pointer -mtune=generic -march=x86-64 -g -O2 -fno-omit-frame-pointer -flto -ffat-lto-objects -fstack-protector-strong -fcf-protection=full -fasynchronous-unwind-tables -fstack-protector-strong -fstack-clash-protection
** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/2083937
Title:
[SRU] Enable frame-pointer on Noble in update-notifier
Status in update-notifier package in Ubuntu:
Invalid
Status in update-notifier source package in Noble:
Fix Committed
Bug description:
[ Impact ]
In order to help developers with profiling, Ubuntu enabled frame-pointers for packages in the main archive.
https://ubuntu.com/blog/ubuntu-performance-engineering-with-frame-
pointers-by-default
The `Affects` packages were missed due to the packaging issues. These
have been fixed on Oracular and can now be ported to Noble.
[ Test Plan ]
Look at the DW_AT_producer in the associated debug ELF file for flags.
-fno-omit-frame-pointer should be present after the fix.
The following scripts can be used as a reference
https://gist.github.com/julian-klode/85e55553f85c410a1b856a93dce77208
https://gist.github.com/julian-klode/95818246eaef0ac6a54588f7f368e25c
The autopkgtests cover the Python parts, so we should start update-
notifier on a real system and see that it still starts. We don't
expect any regressions from compiler flag changes, so I don't want to
do a whole bunch of UI tests or anything.
[ Where problems could occur ]
No source changes are made. The packaging fixes have enabled other
security hardening flags. This could have unintended effects.
[ Other Info ]
changes in dpkg have been made to make sure frame-pointers are not
enabled on s390x and ppc64el.
Bug reference with similar SRU -
https://bugs.launchpad.net/ubuntu/+source/ipvsadm/+bug/2071949
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/2083937/+subscriptions
More information about the foundations-bugs
mailing list