[Bug 2074330] Re: [SRU] please enable framepointer for libio-dirent-perl

Andreas Hasenack 2074330 at bugs.launchpad.net
Wed Dec 11 19:50:44 UTC 2024


I also checked that -fno-omit-framepointer is NOT present in
ppc64el/s390x/armhf.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libio-dirent-perl in Ubuntu.
https://bugs.launchpad.net/bugs/2074330

Title:
  [SRU] please enable framepointer for libio-dirent-perl

Status in libio-dirent-perl package in Ubuntu:
  Fix Released
Status in libio-dirent-perl source package in Noble:
  Fix Released
Status in libio-dirent-perl source package in Oracular:
  Fix Released
Status in libio-dirent-perl package in Debian:
  Fix Released

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

  Run the smoke test:

  $apt-get install libio-dirent-perl
  $apt source libio-dirent-perl
  cd to package source directory
  $sed -i 's/use blib;//g' test.pl
  $perl test.pl

  Expected output:
  ok 1
  ok 2
  ok 3

  [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.

  [Original Description]
  Note: libio-dirent-perl has very old packaging that has not been updated for a while.

  The package can be switched to a modern debhelper version and this
  will allow to make it honour dpkg build flags.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libio-dirent-perl/+bug/2074330/+subscriptions




More information about the foundations-bugs mailing list