undefined symbol: LLVMInitializeInstCombine

Daniel Stender debian at danielstender.com
Thu May 3 00:06:34 BST 2018


On 05/01/2018 02:40 PM, Daniel Stender wrote:
> Hi,
> 
> I working on packaging llvmlite 0.23.0 [1] and update to build with llvm 6.0. I've to an error
> in the tests (this appears three times):
> 
> <cut>
> ======================================================================
> ERROR: llvmlite.tests.test_ir (unittest.loader.ModuleImportFailure)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: llvmlite.tests.test_ir
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/unittest/loader.py", line 254, in _find_tests
>     module = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name
>     __import__(name)
>   File "llvmlite/tests/test_ir.py", line 17, in <module>
>     from llvmlite import binding as llvm
>   File "llvmlite/binding/__init__.py", line 6, in <module>
>     from .dylib import *
>   File "llvmlite/binding/dylib.py", line 4, in <module>
>     from . import ffi
>   File "llvmlite/binding/ffi.py", line 127, in <module>
>     raise e
> OSError: llvmlite/binding/libllvmlite.so: undefined symbol: LLVMInitializeInstCombine
> </cut>
> 
> Does somebody has a hint what this is about/how this could be fixed?
> 
> Thanks,
> Dan
> 
> [1] https://github.com/numba/llvmlite

... found it, this was fixed in llvm 6.0.1: https://reviews.llvm.org/D44140

DS

-- 
4096R/DF5182C8 (stender at debian.org)
http://www.danielstender.com/



More information about the Pkg-llvm-team mailing list