On Thu, Mar 11, 2010 at 5:17 PM, Renato Botelho <[email protected]> wrote:
> 2010/3/11 Török Edwin <[email protected]>:
>> On 03/11/2010 10:06 PM, Renato Botelho wrote:
>>> 2010/3/11 Török Edwin <[email protected]>:
>>>> On 03/11/2010 09:57 PM, Renato Botelho wrote:
>>>>> On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho <[email protected]> wrote:
>>>>>> A FreeBSD user contacted me reporting a problem building clamav
>>>>>> under FreeBSD 9. I reproduced it locally, using 20100308 snapshot:
>>>>>>
>>>>>> [----------] 3 tests from JITEventListenerTest
>>>>>> [ RUN ] JITEventListenerTest.Simple
>>>>>> [ OK ] JITEventListenerTest.Simple
>>>>>> [ RUN ] JITEventListenerTest.MultipleListenersDontInterfere
>>>>>> [ OK ] JITEventListenerTest.MultipleListenersDontInterfere
>>>>>> [ RUN ] JITEventListenerTest.MatchesMachineCodeInfo
>>>>>> [ OK ] JITEventListenerTest.MatchesMachineCodeInfo
>>>>>> [----------] Global test environment tear-down
>>>>>> [==========] 17 tests from 4 test cases ran.
>>>>>> [ PASSED ] 17 tests.
>>>>>> PASS: llvmunittest_JIT
>>>>>> ./llvmcheck.sh: not found
>>>>> FYI, file is there:
>>>>>
>>>>> ./work/clamav-devel-20100308/libclamav/c++/llvmcheck.sh
>>>>>
>>>> Seems like this bug:
>>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876
>>>>
>>>> Does my suggestion here fix it?
>>>> https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1876#c2
>>>
>>> bingo! I don't have bash installed, s/bash/sh fixed it.
>>>
>>
>> Good, I pushed the fix already.
>> Does make check pass now?
>
> It's stopped in 15% for about 10 minutes now...
>
> 15%
> [================================-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------]
> LLVM :: CodeGen/ARM/weak2.ll
>
> waiting....
I needed to stop and start again, now I got this:
FAIL: LLVM :: CodeGen/X86/bswap-inline-asm.ll (1340 of 2135)
******************** TEST 'LLVM :: CodeGen/X86/bswap-inline-asm.ll'
FAILED ********************
Script:
--
llc <
/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
-march=x86-64 >
/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
not grep APP
/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
FileCheck
/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/bswap-inline-asm.ll
<
/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp
--
Exit Code: 1
Command Output (stdout):
--
Command 0: "llc" "-march=x86-64"
Command 0 Result: 0
Command 0 Output:
None
Command 0 Stderr:
Command 1: "not" "grep" "APP"
"/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test/CodeGen/X86/Output/bswap-inline-asm.ll.tmp"
Command 1 Result: 1
Command 1 Output:
#APP
#NO_APP
#APP
#NO_APP
#APP
#NO_APP
#APP
#NO_APP
Command 1 Stderr:
--
Command Output (stderr):
--
--
********************
Testing Time: 95.31s
********************
Failing Tests (1):
LLVM :: CodeGen/X86/bswap-inline-asm.ll
Expected Passes : 1360
Expected Failures : 17
Unsupported Tests : 757
Unexpected Failures: 1
1 warning(s) in tests.
gmake[1]: *** [check-local-lit] Error 1
gmake[1]: Leaving directory
`/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm/test'
gmake: *** [check-lit] Error 2
gmake: Leaving directory
`/usr/ports/security/clamav-devel/work/clamav-devel-20100308/libclamav/c++/llvm'
FAIL: llvmcheck.sh
=======================================
1 of 6 tests failed
Please report to http://bugs.clamav.net
=======================================
*** Error code 1
--
Renato Botelho
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net