[Pkg-opencl-devel] adding symbols to spirv-llvm-translator now FTBFS on ubuntu

Andreas Beckmann anbe at debian.org
Fri Oct 14 14:51:43 BST 2022


On 13/10/2022 14.53, Timo Aaltonen wrote:
> 
>      Hi
> 
> I synced new s-l-t -3 to kinetic, but it fails to build because of the 
> symbols:

Not sure if I manage to fix this before the kinetic release, but there 
are no "relevant" changes missing if it ships with -1.

(optional=templinst)_ZNSt8_Rb_treeIN10SPIRVDebug16CompositeTypeTagESt4pairIKS1_N4llvm5dwarf3TagEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE24_M_get_insert_unique_posERS3_ at Base 

> 0
> - (optional=templinst|arch=amd64 arm64 mips64el ppc64el riscv64 sparc64 
> x32)_ZNSt8_Rb_treeIN10SPIRVDebug16CompositeTypeTagESt4pairIKS1_N4llvm5dwarf3TagEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS7_ERS3_ at Base 
> 0
> +#MISSING: 14.0.0-3# 
> (optional=templinst)_ZNSt8_Rb_treeIN10SPIRVDebug16CompositeTypeTagESt4pairIKS1_N4llvm5dwarf3TagEESt10_Select1stIS7_ESt4lessIS1_ESaIS7_EE24_M_get_insert_unique_posERS3_ at Base 
> 0
> +#MISSING: 14.0.0-3# (optional=templinst|arch=amd64 arm64 mips64el 
> ppc64el riscv64 sparc64
> ...

bad example, optional=templinst symbols, but enough others are gone too

> so it basically says all the symbols are gone, any idea why?

> https://launchpadlibrarian.net/628268019/buildlog_ubuntu-kinetic-amd64.spirv-llvm-translator-14_14.0.0-3_BUILDING.txt.gz 

Need to try this in an Ubuntu chroot ... does Ubuntu have some differing 
visibility settings by default?

the cmake bits of llvm-14 are currently broken in sid ... makes testing 
not easier ...


Andreas

PS: Can you check that the next Ubuntu release does not ship with 
obsolete spirv-llvm-translator{-11,-12,} and 
{intel-,}opencl-clang{-11,-12}? Everything should be using -14.



More information about the Pkg-opencl-devel mailing list