[Kernel-packages] [Bug 1912811] Re: Update dwarves-dfsg in focal to version 1.21 from impish

2022-07-13 Thread Dimitri John Ledkov
** Changed in: libbpf (Ubuntu Bionic)
   Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libbpf in Ubuntu.
https://bugs.launchpad.net/bugs/1912811

Title:
  Update dwarves-dfsg in focal to version 1.21 from impish

Status in dwarves-dfsg package in Ubuntu:
  Invalid
Status in libbpf package in Ubuntu:
  Fix Released
Status in dwarves-dfsg source package in Bionic:
  Fix Released
Status in libbpf source package in Bionic:
  Won't Fix
Status in dwarves-dfsg source package in Focal:
  Fix Released
Status in libbpf source package in Focal:
  Won't Fix
Status in dwarves-dfsg source package in Groovy:
  Won't Fix
Status in libbpf source package in Groovy:
  Won't Fix
Status in dwarves-dfsg source package in Hirsute:
  Fix Released
Status in libbpf source package in Hirsute:
  Won't Fix

Bug description:
  [Impact]

  BTF is an extremely useful tool for BPF developers. Enabling BTF
  support in the HWE kernel requires pahole from dwarves-dfsg 1.21 or
  later, but in focal we have only 1.15. The simplest path for us to get
  a sufficiently updated version of pahole is to backport dwarves-dfsg
  from hirsute, which is at version 1.21 with v5.13 compat fixes.

  [Test Case]

  Building a v5.13 based kernel with CONFIG_DEBUG_INFO_BTF enabled fails
  with the version of pahole currently in focal, complaining that pahole
  1.16 or later is needed. Building with a newer version of pahole is
  successful.

  [Where problems could occur]

  Moving the package forward carries significant risks. The biggest risk
  is clearly new bugs. There may also be interface changes which break
  existing workflows. I believe the following factors indicate that the
  level of risk here is acceptable:

   * Currently there are no bug reports open against the package in
  groovy (there are virtually no bug reports open at all against the
  package in fact).

   * I have done a review of the changes between 1.15 and 1.21. The bulk
  of the changes are for the required BTF support, and the vast majority
  of these are an update of its local copy of libbpf. The balance of the
  changes are bug fixes and enhancements to pahole, none of which look
  to change the user interface in a way which will break existing
  workflows. Note that in later releases libbpf is now packaged stand
  alone, so this SRU covers libbpf as well.

   * But also the 1.15 dwarves is kind of useless, as it doesn't work
  with latest kernels for the BPF features.

   * No packages in focal have dependencies or build dependencies on the
  dwarves package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1912811/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1912811] Re: Update dwarves-dfsg in focal to version 1.21 from impish

2021-11-15 Thread Launchpad Bug Tracker
This bug was fixed in the package dwarves-dfsg - 1.21-0ubuntu1~18.04

---
dwarves-dfsg (1.21-0ubuntu1~18.04) bionic; urgency=medium

  * Backport new dwarves-dfsg to stable series without upgrading libbpf
system-wide (LP: #1912811):
+ Update lib/bpf to libbpf_0.4.0-1ubuntu1.
+ Disable lto, since it is disabled in libbpf.
+ Build with embedded libbpf.
+ Drop libbpf-dev build dependency.
+ Lower debhelper-compat to 11.
+ Cherrypick patch from 1.22 that fixes FTBFS with old elfutils

dwarves-dfsg (1.21-0ubuntu1) impish; urgency=medium

  * New upstream release. Remaining changes:
- pahole: cherry-pick removal of the ftrace filter and its related
functions to prevent build errors with linux 5.13.
- build with libbpf 0.4, as will be required in the next release.

dwarves-dfsg (1.20-1ubuntu1) impish; urgency=medium

  * pahole: remove the ftrace filter and its related functions to prevent
build errors with linux 5.13 (LP: #1928244)

dwarves-dfsg (1.20-1) unstable; urgency=medium

  * New upstream release.
Changes since 1.19:

BTF encoder:
  - Improve ELF error reporting using elf_errmsg(elf_errno()).
  - Improve objcopy error handling.
  - Fix handling of 'restrict' qualifier, that was being treated
as a 'const'.
  - Support SHN_XINDEX in st_shndx symbol indexes, to handle ELF
objects with more than 65534 sections, for instance, which
happens with kernels built with 'KCFLAGS="-ffunction-sections
-fdata-sections", Other cases may include when using FG-ASLR, LTO.
  - Cope with functions without a name, as seen sometimes when
building kernel images with some versions of clang, when a
SEGFAULT was taking place.
  - Fix BTF variable generation for kernel modules, not skipping
variables at offset zero.
  - Fix address size to match what is in the ELF file being
processed, to fix using a 64-bit pahole binary to generate BTF
for a 32-bit vmlinux image.
  - Use kernel module ftrace addresses when finding which functions
to encode, which increases the number of functions encoded.
DWARF loader:
  - Support DW_AT_data_bit_offset
  - DW_FORM_implicit_const in attr_numeric() and attr_offset()
  - Support DW_TAG_GNU_call_site, its the standardized rename of
the previously supported DW_TAG_GNU_call_site.
build:
- Fix compilation on 32-bit architectures.

  * Refresh patches.
  * Remove ctfdwdiff and README.cross so to reuse upstream tarball as-is.
  * Update Standards-Version to 4.5.1
  * Update debhelper compatibility to 13:
- install missing binaries: btfdiff and fullcircle
  * Add upstream metadata file
  * gbp: set upstream tarball compression to xz
  * Add lintian override for orig-tarball-missing-upstream-signature,
see #882694.

dwarves-dfsg (1.19-1) unstable; urgency=high

  * New upstream release. Closes: #978691.
Changes since 1.18:
- Support split BTF, where a main BTF file, vmlinux, can be used
  to find types and then a kernel module, for instance, can have
  just what is unique to it
- Update libbpf to get the split BTF support and use some of its
  functions to load BTF and speed up DWARF loading and BTF encoding
- Support cross-compiled ELF binaries with different endianness
- Support showing typedefs for anonymous types, like structs,
  unions and enums
- Align enumerators
- Workaround bugs in the generation of DWARF records for functions in
  some gcc versions that were causing breakage in the encoding of BTF
- Ignore zero-sized ELF symbols instead of erroring out
- Handle union forward declaration properly in the BTF loader
- Introduce --numeric_version for use in scripts and Makefiles
- Try sole pfunct argument as a function name, just like pahole
  with type names
- Speed up pfunct using some of the load techniques used in pahole
- Discard CUs after BTF encoding as they're not used anymore,
  greatly reducing memory usage and speeding up vmlinux BTF encoding
- Revamp how per-CPU variables are encoded in BTF
- Include BTF info for static functions
- Use BTF's string APIs for strings management, greatly improving
  performance over the tsearch()
- Increase size of DWARF lookup hash table, shaving off about 1
  second out of about 20 seconds total for Linux BTF dedup
- Stop BTF encoding when errors are found in some DWARF CU
- Implement --packed, to show just packed structures, for instance,
  here are the top 5 packed data structures in the Linux kernel
- Fix bug in distros such as OpenSUSE:15.2 where DW_AT_alignment
  isn't defined

  * Refresh patches.

dwarves-dfsg (1.18-1) unstable; urgency=medium

  [ Domenico Andreoli ]
  * New upstream release (changes since 1.17):
- Use type information to pretty print raw data from stdin, all
  documented in the man 

[Kernel-packages] [Bug 1912811] Re: Update dwarves-dfsg in focal to version 1.21 from impish

2021-10-19 Thread Launchpad Bug Tracker
This bug was fixed in the package dwarves-dfsg - 1.21-0ubuntu1~20.04

---
dwarves-dfsg (1.21-0ubuntu1~20.04) focal; urgency=medium

  * Backport new dwarves-dfsg to stable series without upgrading libbpf
system-wide (LP: #1912811):
+ Update lib/bpf to libbpf_0.4.0-1ubuntu1.
+ Disable lto, since it is disabled in libbpf.
+ Build with embedded libbpf.
+ Drop libbpf-dev build dependency.
+ Lower debhelper-compat to 12.

 -- Dimitri John Ledkov   Mon, 20 Sep 2021
13:10:02 +0100

** Changed in: dwarves-dfsg (Ubuntu Focal)
   Status: Fix Committed => Fix Released

** Changed in: dwarves-dfsg (Ubuntu Hirsute)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libbpf in Ubuntu.
https://bugs.launchpad.net/bugs/1912811

Title:
  Update dwarves-dfsg in focal to version 1.21 from impish

Status in dwarves-dfsg package in Ubuntu:
  Invalid
Status in libbpf package in Ubuntu:
  Fix Released
Status in dwarves-dfsg source package in Bionic:
  In Progress
Status in libbpf source package in Bionic:
  New
Status in dwarves-dfsg source package in Focal:
  Fix Released
Status in libbpf source package in Focal:
  Won't Fix
Status in dwarves-dfsg source package in Groovy:
  Won't Fix
Status in libbpf source package in Groovy:
  Won't Fix
Status in dwarves-dfsg source package in Hirsute:
  Fix Released
Status in libbpf source package in Hirsute:
  Won't Fix

Bug description:
  [Impact]

  BTF is an extremely useful tool for BPF developers. Enabling BTF
  support in the HWE kernel requires pahole from dwarves-dfsg 1.21 or
  later, but in focal we have only 1.15. The simplest path for us to get
  a sufficiently updated version of pahole is to backport dwarves-dfsg
  from hirsute, which is at version 1.21 with v5.13 compat fixes.

  [Test Case]

  Building a v5.13 based kernel with CONFIG_DEBUG_INFO_BTF enabled fails
  with the version of pahole currently in focal, complaining that pahole
  1.16 or later is needed. Building with a newer version of pahole is
  successful.

  [Where problems could occur]

  Moving the package forward carries significant risks. The biggest risk
  is clearly new bugs. There may also be interface changes which break
  existing workflows. I believe the following factors indicate that the
  level of risk here is acceptable:

   * Currently there are no bug reports open against the package in
  groovy (there are virtually no bug reports open at all against the
  package in fact).

   * I have done a review of the changes between 1.15 and 1.21. The bulk
  of the changes are for the required BTF support, and the vast majority
  of these are an update of its local copy of libbpf. The balance of the
  changes are bug fixes and enhancements to pahole, none of which look
  to change the user interface in a way which will break existing
  workflows. Note that in later releases libbpf is now packaged stand
  alone, so this SRU covers libbpf as well.

   * But also the 1.15 dwarves is kind of useless, as it doesn't work
  with latest kernels for the BPF features.

   * No packages in focal have dependencies or build dependencies on the
  dwarves package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1912811/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1912811] Re: Update dwarves-dfsg in focal to version 1.21 from impish

2021-10-04 Thread Dimitri John Ledkov
** Also affects: dwarves-dfsg (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Also affects: libbpf (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: dwarves-dfsg (Ubuntu Bionic)
   Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libbpf in Ubuntu.
https://bugs.launchpad.net/bugs/1912811

Title:
  Update dwarves-dfsg in focal to version 1.21 from impish

Status in dwarves-dfsg package in Ubuntu:
  Invalid
Status in libbpf package in Ubuntu:
  Fix Released
Status in dwarves-dfsg source package in Bionic:
  In Progress
Status in libbpf source package in Bionic:
  New
Status in dwarves-dfsg source package in Focal:
  Fix Committed
Status in libbpf source package in Focal:
  Won't Fix
Status in dwarves-dfsg source package in Groovy:
  Won't Fix
Status in libbpf source package in Groovy:
  Won't Fix
Status in dwarves-dfsg source package in Hirsute:
  Fix Committed
Status in libbpf source package in Hirsute:
  Won't Fix

Bug description:
  [Impact]

  BTF is an extremely useful tool for BPF developers. Enabling BTF
  support in the HWE kernel requires pahole from dwarves-dfsg 1.21 or
  later, but in focal we have only 1.15. The simplest path for us to get
  a sufficiently updated version of pahole is to backport dwarves-dfsg
  from hirsute, which is at version 1.21 with v5.13 compat fixes.

  [Test Case]

  Building a v5.13 based kernel with CONFIG_DEBUG_INFO_BTF enabled fails
  with the version of pahole currently in focal, complaining that pahole
  1.16 or later is needed. Building with a newer version of pahole is
  successful.

  [Where problems could occur]

  Moving the package forward carries significant risks. The biggest risk
  is clearly new bugs. There may also be interface changes which break
  existing workflows. I believe the following factors indicate that the
  level of risk here is acceptable:

   * Currently there are no bug reports open against the package in
  groovy (there are virtually no bug reports open at all against the
  package in fact).

   * I have done a review of the changes between 1.15 and 1.21. The bulk
  of the changes are for the required BTF support, and the vast majority
  of these are an update of its local copy of libbpf. The balance of the
  changes are bug fixes and enhancements to pahole, none of which look
  to change the user interface in a way which will break existing
  workflows. Note that in later releases libbpf is now packaged stand
  alone, so this SRU covers libbpf as well.

   * But also the 1.15 dwarves is kind of useless, as it doesn't work
  with latest kernels for the BPF features.

   * No packages in focal have dependencies or build dependencies on the
  dwarves package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1912811/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1912811] Re: Update dwarves-dfsg in focal to version 1.21 from impish

2021-09-20 Thread Dimitri John Ledkov
Uploaded new dwarves-dfsg SRUs that use embeded libbpf (which in turn is
updated to the same source as used in impish).

This makes dwarves-dfsg SRU stand-alone, without introducing or
upgrading the system-wide libbpf.

** Changed in: libbpf (Ubuntu Focal)
   Status: Confirmed => Won't Fix

** Changed in: libbpf (Ubuntu Hirsute)
   Status: Incomplete => Won't Fix

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libbpf in Ubuntu.
https://bugs.launchpad.net/bugs/1912811

Title:
  Update dwarves-dfsg in focal to version 1.21 from impish

Status in dwarves-dfsg package in Ubuntu:
  Invalid
Status in libbpf package in Ubuntu:
  Fix Released
Status in dwarves-dfsg source package in Focal:
  Confirmed
Status in libbpf source package in Focal:
  Won't Fix
Status in dwarves-dfsg source package in Groovy:
  Won't Fix
Status in libbpf source package in Groovy:
  Won't Fix
Status in dwarves-dfsg source package in Hirsute:
  Confirmed
Status in libbpf source package in Hirsute:
  Won't Fix

Bug description:
  [Impact]

  BTF is an extremely useful tool for BPF developers. Enabling BTF
  support in the HWE kernel requires pahole from dwarves-dfsg 1.21 or
  later, but in focal we have only 1.15. The simplest path for us to get
  a sufficiently updated version of pahole is to backport dwarves-dfsg
  from hirsute, which is at version 1.21 with v5.13 compat fixes.

  [Test Case]

  Building a v5.13 based kernel with CONFIG_DEBUG_INFO_BTF enabled fails
  with the version of pahole currently in focal, complaining that pahole
  1.16 or later is needed. Building with a newer version of pahole is
  successful.

  [Where problems could occur]

  Moving the package forward carries significant risks. The biggest risk
  is clearly new bugs. There may also be interface changes which break
  existing workflows. I believe the following factors indicate that the
  level of risk here is acceptable:

   * Currently there are no bug reports open against the package in
  groovy (there are virtually no bug reports open at all against the
  package in fact).

   * I have done a review of the changes between 1.15 and 1.21. The bulk
  of the changes are for the required BTF support, and the vast majority
  of these are an update of its local copy of libbpf. The balance of the
  changes are bug fixes and enhancements to pahole, none of which look
  to change the user interface in a way which will break existing
  workflows. Note that in later releases libbpf is now packaged stand
  alone, so this SRU covers libbpf as well.

   * But also the 1.15 dwarves is kind of useless, as it doesn't work
  with latest kernels for the BPF features.

   * No packages in focal have dependencies or build dependencies on the
  dwarves package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dwarves-dfsg/+bug/1912811/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp