[Pkg-clamav-devel] tomfastmath is ready (take 2)

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Wed Nov 4 08:15:32 UTC 2015


On 2015-11-03 23:43:08 [+0100], Andreas Cadhalpun wrote:
> Hi Sebastian,
Hi Andreas,

> On 03.11.2015 23:06, Sebastian Andrzej Siewior wrote:
> > packaged new upstream version directly from github [0] last weekend and
> > now I got around to write this :) All patches got merged upstream and I
> > ended with two new (one armhf duct tape from clamav, the other somehow
> > slipped).
> > 
> > Build tested it against clamav from unstable (after using the new build
> > depend) the test-suite passed.
> 
> That's great news!
> Regarding the armhf problem: Have you filed a gcc bug report?
No. I will narrow it down first. Right now I am not sure what the problem
is. There were bugs in C-code which were patched later (and I backported
them but the bug remained). So it could be both. Once I know I will either
fix the code or report a gcc bug. But right now I will first try to get
new clamav into exp before looking at this again.

> Regarding the other patch: Making function parameters const is technically
> an API change, which is not really nice to do in a Debian-only patch.
Okay.

> On the other hand these const problems can be worked around with casts,
> so maybe it would be better to add some casts to clamav?
No. You don't cast const away and have a good night sleep. Here in our
case it wouldn't matter. However it is a bad example. I would prefer to
remove the const in clamav until it gets changed upstream.

> It would also be useful to check what other programs using tomsfastmath
> in Debian expect.
Okay, I can do it.

> Best regards,
> Andreas

Sebastian



More information about the Pkg-clamav-devel mailing list