On 05/21/2010 06:14 PM, Török Edwin wrote: > On 05/21/2010 06:12 PM, Dennis Peterson wrote: >> On 5/21/10 8:06 AM, Török Edwin wrote: >>> On 05/21/2010 05:49 PM, Dennis Peterson wrote: >>>> >>>> I just repeated this test (manually dl bytecode.cvd and test it with >>>> clamscan) >>> >>> My configuration is probably different than yours, that is why it fails >>> for you and not for me. >>> That is why I asked for output of 'clamconf -n'. Can you provide it >>> please? >> >> Time marched on since the first failure :). I've got 3 different >> compilers I'm testing. Here's the results for the current build: >> >> Software settings >> ----------------- >> Version: 0.96.1 >> Optional features supported: MEMPOOL IPv6 BIGSTACK AUTOIT_EA06 BZIP2 RAR >> Database directory: /usr/local/share/clamav >> main.cld: version 52, sigs: 704727, built on Mon Feb 15 06:54:51 2010 >> daily.cld: version 11068, sigs: 81593, built on Fri May 21 05:54:03 2010 >> >> Platform information >> -------------------- >> OS: solaris2.9, ARCH: sparc, CPU: sparc >> Full OS version: Solaris 9 s9_58shwpl3 SPARC >> zlib version: 1.2.2 (1.2.2), compile flags: 55 >> >> Build information >> ----------------- >> GNU C: 3.3.2 (3.3.2) >> CPPFLAGS: -I/usr/local/include >> CFLAGS: -mcpu=ultrasparc >> CXXFLAGS: >> LDFLAGS: -lmalloc -R/usr/local/lib/sparcv9 -R/usr/local/lib >> -L/usr/local/lib -L/usr/lib -L/usr/local/ssl9.8e/lib >> Configure: '--prefix=/usr/local' '--with-user=smmsp' >> '--with-group=smmsp' '--enable-bigstack' '--enable-clamdtop' >> '--disable-zlib-vcheck' 'CC=gcc' 'CFLAGS=-mcpu=ultrasparc' >> 'LDFLAGS=-lmalloc -R/usr/local/lib/sparcv9 -R/usr/local/lib >> -L/usr/local/lib -L/usr/lib -L/usr/local/ssl9.8e/lib' >> --enable-ltdl-convenience >> >> >> I'm now trying it with Sun's compiler, Studio 12. > > -lmalloc? That looks like something related to the memory allocation > failure? Can you try without it? > > And I'll try to see if I can reproduce the problem with -lmalloc.
Yep it fails with -lmalloc here. Please remove that from LDFLAGS, and it should work. Best regards, --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml