[Buildroot] [PATCH 3/3] package/llvm-project: bump version to 23.1.0

Julien Olivain ju.o at free.fr
Wed Sep 9 21:05:35 UTC 2026


HiBernd,

Thanks for the patch.

On 07/09/2026 17:53, Bernd Kuhls wrote:
> https://discourse.llvm.org/t/llvm-23-1-0-released/91654
> 
> Removed compiler-rt patch which is included in this release.
> 
> Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
> ---
[...]
> diff --git a/package/llvm-project/llvm-project.mk 
> b/package/llvm-project/llvm-project.mk
> index 5cbbda6e06..31b2a4dae7 100644
> --- a/package/llvm-project/llvm-project.mk
> +++ b/package/llvm-project/llvm-project.mk
> @@ -4,8 +4,8 @@
>  #
>  
> ################################################################################
> 
> -LLVM_PROJECT_VERSION_MAJOR = 22
> -LLVM_PROJECT_VERSION = $(LLVM_PROJECT_VERSION_MAJOR).1.8
> +LLVM_PROJECT_VERSION_MAJOR = 23
> +LLVM_PROJECT_VERSION = $(LLVM_PROJECT_VERSION_MAJOR).1.0

With LLVM 23, bcc is failing to build when I tested with bpftrace.
I tested with command:

utils/docker-run support/testing/run-tests \
     -d dl -o output_folder \
     tests.package.test_bpftrace

It fails with error:

/buildroot/output_folder/TestBpftrace/build/bcc-v0.36.1/src/cc/bcc_debug.cc:151:68: 
error: no matching function for call to 
'llvm::MCContext::MCContext(llvm::Triple&, 
std::unique_ptr<llvm::MCAsmInfo>::pointer, 
std::unique_ptr<llvm::MCRegisterInfo>::pointer, 
std::unique_ptr<llvm::MCSubtargetInfo>::pointer, std::nullptr_t)'

So could you send a v2 of the series, adding before
the llvm bump, a bcc bump to 0.37:
https://github.com/iovisor/bcc/releases/tag/v0.37.0
which also includes a backport of:
https://github.com/iovisor/bcc/commit/dad0db93fd0f443b2a4f43bc2f23c621c9202516

Could you make sure the bcc or bpftrace runtime test works with that, 
please?

>  LLVM_PROJECT_SITE = 
> https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_PROJECT_VERSION)
>  LLVM_PROJECT_SOURCE = llvm-project-$(LLVM_VERSION).src.tar.xz
> 
> --
> 2.47.3

Best regards,

Julien.


More information about the buildroot mailing list