Public bug reported: 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. ** Affects: libunwind (Ubuntu) Importance: Undecided Status: New ** Affects: libunwind (Ubuntu Lunar) Importance: Undecided Status: New ** Also affects: libunwind (Ubuntu Lunar) Importance: Undecided Status: New ** Description changed: + 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. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 Lunar: New 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp