libunwind-dev has wrong LTO data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libunwind (Debian) |
New
|
Unknown
|
|||
libunwind (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
New
|
Undecided
|
Unassigned | ||
llvm-toolchain-14 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When linking libunwind into my program I get the following message:
lto1: fatal error: bytecode stream in file '/usr/lib/
LTO stands for link time optimization.
My guess is that libunwind-x86_64.a in Ubuntu repositories was compiled with earlier gcc 11.2, but the gcc version on this new installation of 22.04 is 11.3.
I am not certain whether the right fix is to recompile with newer compiler version, or to make the library without turning on link time optimization options. libunwind is used for debugging, so there is no obvious benefit in enabling link time optimization for this library.
Changed in libunwind (Debian): | |
status: | Unknown → New |
Status changed to 'Confirmed' because the bug affects multiple users.