Note: lists.iovisor.org will be down for maintenance on Monday, September 26th, starting at 9AM Pacific Time (4PM Monday September 26, 2022 UTC), for approximately one hour.
Minimum LLVM version for bcc
Does the LLVM version used by bcc matter, for packaging purposes?
I assume bcc includes some static libraries from LLVM, so I'm curious if the older versions are acceptable. For instance, on ubuntu 16.04, we use LLVM 3.7, but on ubuntu 18.04 and 20.04 it uses LLVM 6.0, based on the current debian control file.
Are there features of newer LLVM releases that we need? For example, does BTF require a specific minimum version of LLVM? If this is the case, perhaps we should update the dependency descriptions in the debian control file to reflect this.
On Wed, Oct 21, 2020 at 8:57 AM Dale Hamel <daleha@...> wrote:
This is a good question. For packaging purpose, no, it does not matter
much. The people who builds package can choose whatever it is
available to them to package. bcc is supposed to work for all major
llvm releases since llvm 3.7.
This is probably due to historical reason.
for BTF support, best is >= llvm10. For testing purpose, we may still
want to keep an option to build with old llvm's.