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 pages, further information in the csets. - Store percpu variables in vmlinux BTF. This can be disabled when debugging kernel features being developed to use it. - pahole now should be segfault free when handling gdb test suit DWARF files, including ADA, FORTRAN, rust and dwp compressed files, the later being just flatly refused, that got left for v1.19. - Bail out on partial units for now, avoiding segfaults and providing warning to user, hopefully will be addressed in v1.19. Closes: #977715. * Update Homepage link. Closes: #978708. * Drop debian/compat in favor of Build-Depends: debhelper-compat. * Fix typo in pahole manual page. * Fix escaping in pahole manual page. * Fix debian/copyright lintian errors. * Revert test to a superficial pahole --version until partial units become supported. [ Luca Boccassi ] * Use packaged libbpf instead of the statically linked. Closes: #979105. dwarves-dfsg (1.17-1) unstable; urgency=low * New upstream release (changes since 1.16): BTF loader: - Support raw BTF as available in /sys/kernel/btf/vmlinux. pahole: - When the sole argument passed isn't a file, take it as a class name: - Do not require a class name to operate without a file name. - Make --find_pointers_to consider unions: - Make --contains and --find_pointers_to honour --unions - Add support for finding pointers to void: - Make --contains and --find_pointers_to to work with base types: - Make --contains look for more than just unions, structs: - Consider unions when looking for classes containing some class: - Introduce --unions to consider just unions: - Fix -m/--nr_methods - Number of functions operating on a type pointer man-pages: - Add section about --hex + -E to locate offsets deep into sub structs. - Add more information about BTF. - Add some examples. * Update to Standards-Version 4.5.0: - Drop get-orig-source rules target - Add Rules-Requires-Root: no * Update debhelper compat to 12. dwarves-dfsg (1.16-1) unstable; urgency=low * New upstream release (changes since 1.15): - Preserve and encode exported functions as BTF_KIND_FUNC - Add support for BTF_KIND_FUNC - Account inline type __aligned__ member types for spacing - Fix alignment of class members that are structs/enums/unions - Fixup handling classes with no members, solving a NULL deref - Avoid infinite loop trying to determine type with static data member of its own type. - type->type == 0 is void, fix --compile for that - Print DW_TAG_subroutine_type as well - Fix ptr_table__add_with_id() handling of pt->nr_entries, covering how BTF variables IDs are encoded - Allow passing the format path specifier, to use with BTF - Fixup issues pointed out by various coverity reports dwarves-dfsg (1.15-2) unstable; urgency=low * Fix hardening-no-bindnow. * Fix debian-watch-uses-insecure-uri. * Fix debian-watch-does-not-check-gpg-signature. * Fix priority-extra-is-replaced-by-priority-optional. * Revert to dwarves-dbgsym for tests execution but skip the test if it's not installable (i.e. on transition to testing). dwarves-dfsg (1.15-1) unstable; urgency=medium [ Theodore Y. Ts'o ] * New upstream release (changes since 1.12, closes: #931142): - Add support for BTF encoding which is a much more compact way of encoding C type information. It is derived from CTF (Compact C-Type format) and is designed for use with eBPF. - Add initial support for the DWARF DW_TAG_partial_unit - Improve support for pretty-printing unions - Teach pahole to show where a struct was used, via the -I option - Use the running kernel by default when no file name is passed - Improve man pages - Support new BTF deduplication algorithm found the Linux kernel's libbpf library, which allows type information for the kernel to be stored in roughly 1% of the space. - Add a new utility, btfdiff, which compares the pretty-printed type information between two kernel images. - Teach pahole to use the BTF information to pretty print structures using the BTF information using "pahole -F btf", which is much faster than using the Dwarf information. - Infer the __packed__ attribute for structures without alignment holes and which violate the natural types' alignment requirements. - Support DWARF5's DW_AT_alignment tag - Add a --compile option to pfunct which produces compileable output for function prototypes in an object file. - Miscellaneous bug fixes [ Domenico Andreoli ] * Autopkgtest on libc-bin-dbgsym instead of dwarves-dbgsym. Closes: #923717. * Fix typo in description of no_shared_no_ebl. dwarves-dfsg (1.12-2) unstable; urgency=medium * Convert to dh. * Fix Homepage and Vcs-Git. * Fix depends on debhelper >= 10. * Remove trailing spaces from the Debian changelog. * Update copyright to copyright-format/1.0. Closes: #919356. dwarves-dfsg (1.12-1) unstable; urgency=medium [ Domenico Andreoli ] * New upstram release. Closes: #908563, #779809, #693096, * Migrate to salsa.d.o and enable CI. Closes: #908564. * Migrate to DEP-14. * Drop patch DW_TAG_mutable_type (merged upstream). * Refresh patch no_shared_no_ebl. * Improve package description. Closes: #914527. * Add test executing pahole on itself. * Set debhelper compatibility level to 10. * Start using dh_strip_nondeterminism. [ Helmut Grohne ] * Let dh_auto_configure pass cross flags to cmake. Closes: #903506. -- Dimitri John Ledkov <dimitri.led...@canonical.com> Mon, 20 Sep 2021 13:10:02 +0100 ** Changed in: dwarves-dfsg (Ubuntu Bionic) 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: Fix Released 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