From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] clamav: Disable llvm support. Date: Thu, 04 Jul 2019 19:33:42 +0100 Message-ID: <4435725F-F6C8-4B70-8BC8-D37F3E3D6E78@ipfire.org> In-Reply-To: <20190704134405.28913-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1338159111522150993==" List-Id: --===============1338159111522150993== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thanks for doing this research. Merged. > On 4 Jul 2019, at 14:44, Stefan Schantl wrote: >=20 > When enabled, LLVM provides the capability to just-in-time compile ClamAV b= ytecode signatures. > Without LLVM, ClamAV uses a built-in bytecode interpreter to execute byteco= de signatures. > The mechanism is different, but the results are same and the performance ov= erall is comparable. >=20 > At present only LLVM versions up to LLVM 3.6.2 are supported by ClamAV, and= LLVM 3.6.2 is old enough > that newer distributions no longer provide it. Therefore, the ClamAV Devs r= ecommend using the > --disable-llvm configure option. >=20 > Fixes #11601. >=20 > Signed-off-by: Stefan Schantl > --- > clamav/clamav.nm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/clamav/clamav.nm b/clamav/clamav.nm > index 9a550544e..9abe6c40e 100644 > --- a/clamav/clamav.nm > +++ b/clamav/clamav.nm > @@ -5,7 +5,7 @@ >=20 > name =3D clamav > version =3D 0.101.2 > -release =3D 1 > +release =3D 2 >=20 > groups =3D System Environment/Daemons > url =3D http://www.clamav.net > @@ -49,6 +49,7 @@ build > --with-user=3Dclamupdate \ > --with-group=3Dclamupdate \ > --disable-rpath \ > + --disable-llvm \ > have_cv_ipv6=3Dyes >=20 > # User and group have to exist to compile the source code, > --=20 > 2.21.0 >=20 --===============1338159111522150993==--