On Tue, Sep 18, 2012 at 4:07 PM, Peter Bonivart <[email protected]>wrote:
> On Tue, Sep 18, 2012 at 4:47 PM, David Raynor <[email protected]> > wrote: > > This error message is because of a gcc bug, specific to gcc version 4.6 > on > > Solaris 10 (gcc bug 49347). That is fixed in gcc 4.7. > > I can build with llvm enabled on Solaris 10 i386 with gcc 4.7.1 but on > sparc it says: > > checking for supported OS... configure: error: Unsupported CPU for > JIT: sparc, not building LLVM > > Can you, or someone else, explain what this llvm does? Is it a > performance thing? Will ClamAV detect less without it or what? > > /peter > _______________________________________________ > Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net > http://www.clamav.net/support/ml > It will detect slightly less. ClamAV uses LLVM's JIT tools to run its bytecode engine. Certain malware are much faster to identify with small coded functions than with simpler means. The bytecode lets new minor scanning functions be delivered like signature updates instead of requiring rebuilds or reinstalls. The LLVM included with ClamAV differs from stock LLVM because the JIT instruction set has been reduced and restricted. The LLVM JIT is configured to be enabled for x86 and disabled for Sparc because that is how LLVM has marked the JIT feature. More information available at llvm.org. Dave R. -- --- Dave Raynor Sourcefire Vulnerability Research Team [email protected] _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml
