[Pkg-clamav-devel] tommath

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Tue Dec 2 12:25:05 UTC 2014


On 2014-12-02 00:38:45 [+0100], Andreas Cadhalpun wrote:
> Hi Sebastian,
Hi Andreas,

> Indeed, the --with-system-tommath was removed from configure, because clamav
> uses now 'tomsfastmath instead of tommath' [1].
> 
> As libtommath seems to be dead upstream (last release in 2011, homepage
> vanished), I'm not sure reverting this makes much sense.

I see but tomsfastmath isn't that much better, is it? Its last release
is more recent however. The git tree of of tommath [0] has a few changes
from a fow months ago.

Anyway. I found a document [1] which explains the difference to tommath:
|Compared to LibTomMath this new library is meant to be much faster while
|sacrificing flexibiltiy

so it supposed to do the same thing but a little faster. Sounds like
something for everyone. Would it make a candidate for packaging then?
There a few copies of it in the tree [2].

> We probably should just remove '--with-system-tommath' (and
> '--without-included-ltdl', which is the default) from debian/rules.

if we use the embedded ltdl then yes, please :)

> Best regards,
> Andreas

[0] https://github.com/libtom/libtommath/tree/develop
[1] https://github.com/libtom/tomsfastmath/raw/master/doc/tfm.pdf
[2] http://codesearch.debian.net/search?q=fp_sqr_comba_small_set

Sebastian



More information about the Pkg-clamav-devel mailing list