[Pkg-opencl-devel] Bug#1116519: spirv-llvm-translator-21: disappearing symbols with lto

Gianfranco Costamagna locutusofborg at debian.org
Sun Sep 28 09:22:15 BST 2025


Source: spirv-llvm-translator-21
Version: 21.1.0-2
tags: patch

Hello, looks like two symbols are disappearing on Ubuntu, on amd64/arm64/ppc64el/s390x, while they are ok on armhf and riscv64.
My wild guess is that they disappear with lto enabled.

Patch attached

diff -Nru spirv-llvm-translator-21-21.1.0/debian/changelog spirv-llvm-translator-21-21.1.0/debian/changelog
--- spirv-llvm-translator-21-21.1.0/debian/changelog    2025-09-25 08:04:36.000000000 +0200
+++ spirv-llvm-translator-21-21.1.0/debian/changelog    2025-09-28 10:16:57.000000000 +0200
@@ -1,3 +1,9 @@
+spirv-llvm-translator-21 (21.1.0-2.1) unstable; urgency=medium
+
+  * Fixup two missing symbols (Closes: -1)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Sun, 28 Sep 2025 10:16:57 +0200
+
 spirv-llvm-translator-21 (21.1.0-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru spirv-llvm-translator-21-21.1.0/debian/libllvmspirvlib21.1.symbols spirv-llvm-translator-21-21.1.0/debian/libllvmspirvlib21.1.symbols
--- spirv-llvm-translator-21-21.1.0/debian/libllvmspirvlib21.1.symbols    2025-09-25 08:04:03.000000000 +0200
+++ spirv-llvm-translator-21-21.1.0/debian/libllvmspirvlib21.1.symbols    2025-09-28 10:11:42.000000000 +0200
@@ -62,8 +62,8 @@
  (optional=templinst|subst|arch=any-i386 ppc64 ppc64el)_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_{size_t}PKS8_PcE{size_t}SB_z at Base 18.1.1
  (optional=templinst|subst|arch=loong64 mips64el riscv64 sparc64)_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_{size_t}PKS8_PvE{size_t}SB_z at Base 18.1.1
  (optional=templinst|subst|arch=arm64 armel armhf)_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_{size_t}PKS8_St9__va_listE{size_t}SB_z at Base 18.1.1
- _ZNK4llvm4Type20getStructElementTypeEj at Base 21
- _ZNK4llvm4Type22getPointerAddressSpaceEv at Base 21
+ (optional)_ZNK4llvm4Type20getStructElementTypeEj at Base 21
+ (optional)_ZNK4llvm4Type22getPointerAddressSpaceEv at Base 21
  _ZNK5SPIRV14TranslatorOpts17validateFnVarOptsEv at Base 21
  _ZNK5SPIRV14TranslatorOpts25isUnknownIntrinsicAllowedEPN4llvm13IntrinsicInstE at Base 13
  _ZNK5SPIRV14TranslatorOpts29getAllowedSPIRVExtensionNamesB5cxx11ERSt8functionIFbNS_11ExtensionIDEEE at Base 20


thanks for marking them as optional

Gianfranco



More information about the Pkg-opencl-devel mailing list