On 03/01/2010 09:22 PM, Renato Botelho wrote:
> Hello one more time,
> 
> I was trying to update clamav-devel port to a more recent snapshot
> and I got some segfaults during make test, like you can see here:

Which FreeBSD version, and which architecture?

> 
> g++42: -rpath=/usr/local/lib/gcc42: linker input file unused because
> linking not done
>   CXX    llvmunittest_JIT-JITMemoryManagerTest.o
> g++42 -DHAVE_CONFIG_H -I.  -I./llvm/include -I./llvm/include
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE
> -I./llvm/utils/unittest/googletest/include -I/usr/local/include
> -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W
> -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers
> -Wno-variadic-macros -fno-exceptions -O2 -fno-strict-aliasing -pipe
> -Wl,-rpath=/usr/local/lib/gcc42 -c -o
> llvmunittest_JIT-JITMemoryManagerTest.o `test -f
> 'llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp' || echo
> './'`llvm/unittests/ExecutionEngine/JIT/JITMemoryManagerTest.cpp
> g++42: -rpath=/usr/local/lib/gcc42: linker input file unused because
> linking not done
>   CXX    llvmunittest_JIT-JITTest.o
> g++42 -DHAVE_CONFIG_H -I.  -I./llvm/include -I./llvm/include
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE
> -I./llvm/utils/unittest/googletest/include -I/usr/local/include
> -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W
> -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers
> -Wno-variadic-macros -fno-exceptions -O2 -fno-strict-aliasing -pipe
> -Wl,-rpath=/usr/local/lib/gcc42 -c -o llvmunittest_JIT-JITTest.o `test
> -f 'llvm/unittests/ExecutionEngine/JIT/JITTest.cpp' || echo
> './'`llvm/unittests/ExecutionEngine/JIT/JITTest.cpp
> g++42: -rpath=/usr/local/lib/gcc42: linker input file unused because
> linking not done
>   CXXLD  llvmunittest_JIT
>   CXX    FileCheck-FileCheck.o
> g++42 -DHAVE_CONFIG_H -I.  -I./llvm/include -I./llvm/include
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE
> -I/usr/local/include -Woverloaded-virtual -pedantic -Wno-long-long
> -Wall -W -Wno-unused-parameter -Wwrite-strings
> -Wno-missing-field-initializers -Wno-variadic-macros -O2
> -fno-strict-aliasing -pipe -Wl,-rpath=/usr/local/lib/gcc42 -c -o
> FileCheck-FileCheck.o `test -f 'llvm/utils/FileCheck/FileCheck.cpp' ||
> echo './'`llvm/utils/FileCheck/FileCheck.cpp
> g++42: -rpath=/usr/local/lib/gcc42: linker input file unused because
> linking not done
>   CXXLD  FileCheck
> `llvmdejagnu.sh' is up to date.
> make  check-TESTS
> Segmentation fault (core dumped)
> FAIL: llvmunittest_ADT

Can you get a gdb backtrace for one of these? (when built with debug
symbols)
Just run gdb ./llvmunittest_ADT
(gdb) run
...
(gdb) bt


Best regards,
--Edwin
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to