[Bug 2081848] Re: fix underlinking with recent LLVM 18.1.8 backport
Chris Halse Rogers
2081848 at bugs.launchpad.net
Mon Feb 3 22:27:50 UTC 2025
Ok. It looks like what has happened here is:
* An update of llvm-toolchain-18 was uploaded to noble-proposed - version 1:18.1.8-9ubuntu1~24.04
+ Part of the new llvm-toolchain-18 update was adding the missing libLLVM-18.so.18.1 link. This is a correct fix to llvm-toolchain-18, but I think should have also included a change to the solib metadata to indicate that builds against this package have a strict version dependency.
* As a part of testing that update, it was discovered that bpftrace failed against the new llvm18
* This update was prepared for bpftrace, to fix building against the new llvm18
+ Due to building against the llvm-toolchain-18 in -proposed, this picked up a dependency on libLLVM-18.so.18.1.
* The build-time tests of bpftrace pass fine, because at build time the necessary version of libllvm18 is installed.
* Because the solib metadata of llvm-toolchain-18 was not updated, the bpftrace package does *not* have a versioned dependency on libllvm18 >= 1:18.1.8-9ubuntu1~24.04
+ This would have changed this failure from "bpftrace is broken" to "bpftrace won't update/can't be installed", which is not *great* but is better.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bpftrace in Ubuntu.
https://bugs.launchpad.net/bugs/2081848
Title:
fix underlinking with recent LLVM 18.1.8 backport
Status in bpftrace package in Ubuntu:
Confirmed
Status in bpftrace source package in Noble:
Fix Released
Bug description:
An archive test rebuild with a planned LLVM 18.1.8 showed up one regression, building bpfrace. The issue however is in bpftrace itself, and is already fixed in oracular 0.21.0-1ubuntu1.
Another backport is from 0.21.0-1ubuntu5, ignoring the unknown .debug_addr section in dh_dwz on armhf.
Testing done for that patch: The package builds with the backported
18.1.8 package and passes its tests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpftrace/+bug/2081848/+subscriptions
More information about the foundations-bugs
mailing list