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

James Cowgill jcowgill at debian.org
Mon Mar 12 13:03:13 UTC 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20180312/0f71b04e/attachment.sig>


More information about the Pkg-llvm-team mailing list