[LLVMbugs] [Bug 7551] New: x86-64 -O0 -g miscompiles ClamAV test

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 1 10:51:32 PDT 2010


           Summary: x86-64 -O0 -g miscompiles ClamAV test
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: stoklund at 2pi.dk
                CC: llvmbugs at cs.uiuc.edu

MultiSource/Applications/ClamAV/clamscan produces different output when built
with -O0 -g on x86-64.

There is extra output on stderr:

--- clamscan.out-nat    2010-07-01 03:14:07.000000000 -0700
+++ clamscan.out-llc    2010-07-01 03:14:25.000000000 -0700
@@ -2,6 +2,15 @@
 LibClamAV Warning: ***  The virus database is older than 7 days!  ***
 LibClamAV Warning: ***   Please update it as soon as possible.    ***
 LibClamAV Warning: **************************************************
+ERROR: Scanning clam-v2.rar
+LibClamAV Warning: RAR code not compiled-in
+ERROR: lam-v2.rar: OK
+ERROR: Scanning clam-v3.rar
+LibClamAV Warning: RAR code not compiled-in
+ERROR: lam-v3.rar: OK
+ERROR: Scanning clam.cab
 Initializing the engine (devel-20071218)

 Initializing phishcheck module
@@ -246,19 +255,10 @@

    * Submodule %10s:    %s

-Scanning README
-Scanning clam-v2.rar
-LibClamAV Warning: RAR code not compiled-in
 Recognized %s file

-clam-v2.rar: OK
-Scanning clam-v3.rar
-LibClamAV Warning: RAR code not compiled-in
 Recognized %s file

-clam-v3.rar: OK
-Scanning clam.cab
 Recognized %s file

 in cli_scanmscab()
@@ -314,7 +314,15 @@

 SizeOfCode: 0x%x

-SizeOfInitializedData: 0x%x
+SizeOfERROR: lam.cab: OK
+ERROR: Scanning clam.exe
+ERROR: lam.exe: OK
+ERROR: Scanning clam.exe.bz2
+ERROR: lam.exe.bz2: OK
+ERROR: Scanning clam.zip
+ERROR: lam.zip: OK
+ERROR: Scanning clamdoc.tar.gz
+InitializedData: 0x%x

 SizeOfUninitializedData: 0x%x

@@ -360,8 +368,6 @@

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list