On 12.08.2014 22:58, Scott Kitterman wrote:
On August 12, 2014 4:53:02 PM EDT, Andreas Cadhalpun
<[email protected]> wrote:
Hi,
On 12.08.2014 21:57, Sebastian Andrzej Siewior wrote:
The problem is
http://www.cabextract.org.uk/libmspack/doc/mspack_8h.html#a3a94be2216dd1e835733acb7c4645fca
clamav is compiled without LFS, libmspack is compiled _with_ LFS
support. So off_t has different size.
Then the obvious fix is to add '-D_FILE_OFFSET_BITS=64' to CFLAGS.
This fixed the test failures on i386. Does this have any disadvantage?
It would probably be best to add a check to configure.ac testing what
off_t size libmspack uses and adding this flag depending on the result.
I recall reading something about a autotools bug that caused this. We should be
building with LFS generally, I think. Please go ahead.
OK, I added it now to CFLAGS.
Best regards,
Andreas
_______________________________________________
Pkg-clamav-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-clamav-devel