Bug#892741: llvmlite: FTBFS on mips64el - testsuite segfaults

Daniel Stender debian at danielstender.com
Mon Mar 12 13:29:43 UTC 2018


On 03/12/2018 02:03 PM, James Cowgill wrote:
> Source: llvmlite
> Version: 0.22.0-1
> Severity: serious
> Tags: sid buster
> 
> Hi,
> 
> llvmlite FTBFS on mips64el with this segmentation fault:
>>     debian/rules override_dh_auto_test
>> make[1]: Entering directory '/<<PKGBUILDDIR>>'
>> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m unittest discover -v" dh_auto_test
>> I: pybuild base:184: python2.7 -m unittest discover -v
>> test_function_cfg_on_llvm_value (llvmlite.tests.test_binding.TestAnalysis) ... ok
>> test_get_function_cfg_on_ir (llvmlite.tests.test_binding.TestAnalysis) ... ok
>> test_linux (llvmlite.tests.test_binding.TestDependencies) ... skipped 'Distribution-specific test'
>> test_bad_library (llvmlite.tests.test_binding.TestDylib) ... ok
>> test_libm (llvmlite.tests.test_binding.TestDylib) ... ok
>> test_close (llvmlite.tests.test_binding.TestFunctionPassManager) ... ok
>> test_initfini (llvmlite.tests.test_binding.TestFunctionPassManager) ... ok
>> test_run (llvmlite.tests.test_binding.TestFunctionPassManager) ... ok
>> test_add_module (llvmlite.tests.test_binding.TestGlobalConstructors) ... ok
>> test_add_module_lifetime (llvmlite.tests.test_binding.TestGlobalConstructors) ... ok
>> test_add_module_lifetime2 (llvmlite.tests.test_binding.TestGlobalConstructors) ... ok
>> test_close (llvmlite.tests.test_binding.TestGlobalConstructors) ... ok
>> test_emit_assembly (llvmlite.tests.test_binding.TestGlobalConstructors)
>> Test TargetMachineRef.emit_assembly() ... ok
>> test_emit_object (llvmlite.tests.test_binding.TestGlobalConstructors)
>> Test TargetMachineRef.emit_object() ... ok
>> test_global_ctors_dtors (llvmlite.tests.test_binding.TestGlobalConstructors) ... Segmentation fault
>> E: pybuild pybuild:283: test: plugin custom failed with: exit code=139: python2.7 -m unittest discover -v
>> dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
>> make[1]: *** [debian/rules:11: override_dh_auto_test] Error 25
> 
> I did a bit of investigation and I'm fairly certain this is an LLVM bug
> which was fixed in LLVM 6 (although I'm not sure what commit fixes it).
> Since LLVM 6 has now been released, I suspect you will be upgrading soon
> so I have not tried to backport anything to LLVM 5 at this time.
> 
> James

Thanks for checking that over. It appears current LLVMlite doesn't support later
versions of LLVM but no problem it could be removed until it builds again in the future.

DS

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



More information about the Pkg-llvm-team mailing list