Just to correct myself for posterity, I was wrong when I speculated
about this:

> The underlying bug is presumably in libllvm21, as both the pass and
fail runs use the same version of libamd_comgr.so.3 with minor patches.
The biggest difference between pass and fail is that the passing version
uses the AMD fork and the failing version uses upstream LLVM 21.

Yaxun "Sam" Liu tracked the error back to a bad cast I introduced in a
src:rocm-llvm patch. It was a subtle error. I added an explicit cast
from a char array to a char pointer. I believe this was to adapt a call
to an interface that differed between AMD's LLVM fork and upstream LLVM
20. However, in the AMD LLVM fork (and in LLVM 21) the function being
called was actually a template function with different specializations
for character arrays and character pointers. The bad cast was dropped in
Talha's 7.1.0+dfsg-0ubuntu5 upload as it was not necessary for LLVM 21.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142813

Title:
  missing symbol error loading compressed bundles

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rocm-llvm/+bug/2142813/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to