On Fri, 16 Jul 2010 11:56:55 -0400 Matt Garretson <[email protected]> wrote:
> Hi, I'm trying to build 0.96.1 under Fedora 11 x86_64. It seems to > configure and build okay, but "make check" fails as shown below. > This produces 146 core files under /libclamav/c++ so I'm not sure > which one to run gdb on. Python is version 2.5.1 Are you sure? The tests force numthreads = 1 for version < 2.5.2, but you have 8: > Testing: 2123 tests, 8 threads -- 2% What does this command output: python <<EOF > import sys > print sys.version > print "%x" % sys.hexversion > EOF >, gcc is 4.3.0 and > llvm is 2.5 . llvm version doesn't matter, embedded one is built and tested. > > Not sure if this is bug-worthy, so posting here first. Thanks in > advance for any tips. > > -Matt > > > > [...] > make[6]: Entering directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++/llvm' llvm[6]: Running > test suite make[7]: Entering directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++/llvm/test' Making a new > site.exp file... Making LLVM 'lit.site.cfg' file... > Making LLVM unittest 'lit.site.cfg' file... > ( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v > 512000 ; > \ /home/mattg/src/clamav-0.96.1/libclamav/c++/llvm/utils/lit/lit.py > -s -v --no-tcl-as-sh CodeGen ExecutionEngine Integer Verifier ) -- > Testing: 2123 tests, 8 threads -- 2% > [===------------------------------------------------------------------------------------------------------------------------------------------------------------------------] > Fatal Python error: PyEval_AcquireThread: NULL new thread state This looks like a python problem, and the core dumps are probably python's: http://bugs.python.org/issue7544 How much memory do you have? Is python right about the 8 cores? > LLVM :: > CodeGen/ARM/2009-04-06-AsmModifier.ll > > /bin/sh: > line 1: 10316 > Aborted > /home/mattg/src/clamav-0.96.1/libclamav/c++/llvm/utils/lit/lit.py > -s -v --no-tcl-as-sh CodeGen ExecutionEngine Integer Verifier > make[7]: *** [check-local-lit] Error 134 make[7]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++/llvm/test' make[6]: *** > [check-lit] Error 2 make[6]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++/llvm' FAIL: llvmcheck.sh > ======================================= 1 of 6 tests failed Please > report to http://bugs.clamav.net > ======================================= make[5]: *** [check-TESTS] > Error 1 make[5]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++' make[4]: *** [check-am] > Error 2 make[4]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++' make[3]: *** [check] > Error 2 make[3]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav/c++' make[2]: *** > [check-recursive] Error 1 make[2]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav' make[1]: *** [check] Error > 2 make[1]: Leaving directory > `/home/mattg/src/clamav-0.96.1/libclamav' make: *** [check-recursive] > Error 1 > > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit > http://wiki.clamav.net http://www.clamav.net/support/ml _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
