[Bug 2025458] Re: SRU: rebuild libunwind with GCC 11.4

Matthias Klose 2025458 at bugs.launchpad.net
Fri Jun 30 09:14:39 UTC 2023


** No longer affects: libunwind (Ubuntu Lunar)

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

Title:
  SRU: rebuild libunwind with GCC 11.4

Status in libunwind package in Ubuntu:
  New
Status in libunwind source package in Jammy:
  Fix Committed

Bug description:
  Reported in LP: #1997161

  after updating GCC 11 in 22.04 LTS to 11.3, and now to 11.4, linking
  with the static libraries provided by libunwind-dev fails with:

  lto1: fatal error: bytecode stream in file '/usr/lib/gcc/x86_64-linux-
  gnu/11/../../../x86_64-linux-gnu/libunwind-x86_64.a' generated with
  LTO version 11.2 instead of the expected 11.3

  This happens, because gcc-11 bumped the LTO version in 11.3
  (11.3.0-1ubuntu1~22.04), plus the static libraries are not stripped in
  the packaging.

  Fixes could be to change the packaging, disable the LTO build for the
  package, or just rebuild with the new compiler.

  For 22.04 LTS, the least invasive action seems to be the no-change
  rebuild.

  To verify the packages: check that the package builds with the correct
  compiler version, and that the tests succeed during the build.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/2025458/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list