** Description changed:

  [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
- $cat << EOF > test.pl
- use IO::Dirent;
-  
- ## slurp-style
- opendir DIR, "/etc";
- my @entries = readdirent(DIR);
- closedir DIR;
-  
- print \$entries[0]->{name}, "\n";
- print \$entries[0]->{type}, "\n";
- print \$entries[0]->{inode}, "\n";
-  
- ## using the enumerator
- opendir DIR, "/etc";
- while( my \$entry = nextdirent(DIR) ) {
-   print \$entry->{name} . "\n";
-   print \$entry->{type} . "\n";
-   print \$entry->{inode} . "\n";
- }
- closedir DIR;
- EOF
- $perl test.pl
+ $apt source libio-dirent-perl
+ cd to package source directory
+ $perl test.pl 
  
- The test should print contents of /etc/ directory
  
  [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.

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to