[Pkg-clamav-devel] tommath

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Dec 3 00:12:44 UTC 2014


Hi Sebastian,

On 02.12.2014 13:25, Sebastian Andrzej Siewior wrote:
> On 2014-12-02 00:38:45 [+0100], Andreas Cadhalpun wrote:
>> 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?

Not really. It even has the same homepage (or rather has not anymore).

> Its last release
> is more recent however. The git tree of of tommath [0] has a few changes
> from a fow months ago.

I wonder, why there hasn't been any new release despite the activity in 
the repository (for both tommath and tomsfastmath).

> 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

I see. The assembler optimizations seem to be the cause of the problems 
on x32.

> 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].

Yes, packaging that would make sense. Even more so, if there is a chance 
of new upstream releases in the future.

>> 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 :)

We don't use the embedded ltdl, but clamav uses the system version on 
its own, unless configured with --with-included-ltdl.

Best regards,
Andreas




More information about the Pkg-clamav-devel mailing list