LLVM-15 ABI incompatibility between rocky 9.2 and 9.3

Hi Support,
There seems to be an ABI incompatibility between the binary of libLLVM-15.0.7.so found on rocky-9.2 (llvm-libs-15.0.7-1.el9.x86_64) and on rocky-9.3 (llvm15-libs-15.0.7-5.el9.x86_64). The former brings with it some c++ runtime symbols, versioned for llvm (@@LLVM_15) whereas the latter doesn’t.

In practice, we have some binaries built against llvm-15 on rocky-9.2 failing to run on rocky-9.3. For now, and before we upgrade to a more recent version of llvm, I can workaround the issue but I’m curious to know if that was reported already and if so, what was the recommended approach.

Thanks

Welcome to the forums!

llvm15 is not provided by Rocky Linux, it is provided by EPEL.

[root@cm02 ~]# dnf info llvm15
Last metadata expiration check: 0:20:47 ago on Wed 30 Apr 2025 09:58:04 PM MST.
Available Packages
Name         : llvm15
Version      : 15.0.7
Release      : 5.el9
Architecture : x86_64
Size         : 11 M
Source       : llvm15-15.0.7-5.el9.src.rpm
Repository   : epel
Summary      : The Low Level Virtual Machine
URL          : http://llvm.org
License      : Apache-2.0 WITH LLVM-exception OR NCSA
Description  : LLVM is a compiler infrastructure designed for compile-time, link-time,
             : runtime, and idle-time optimization of programs from arbitrary programming
             : languages. The compiler infrastructure includes mirror sets of programming
             : tools as well as libraries with equivalent functionality.

Since it is part of EPEL and you’re having issues with it, what I would do is file a bug report at the red hat bugzilla against Fedora EPEL 9 to get some attention on it.

Before you make your bug report though, I would suggest trying to reproduce your issue on Rocky Linux 9.5 (as that is the current supported version) and/or CentOS Stream 9. If they’re reproducible, then it may be worth the bug report.

The issue remains in 9.5. I think the problem is with the 9.2 build of llvm, which we’re stuck with for now.
Thanks for your help, I’ll follow up with the suggested link.