qatzip now stopped to compile on Debian sid, it worked a couple of weeks ago, so I suspect there were some toolchain updates:
libtool: compile: x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"qatzip\" -DPACKAGE_TARNAME=\"qatzip\" -DPACKAGE_VERSION=\"1.3.2\" "-DPACKAGE_STRING=\"qatzip 1.3
.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qatzip\" -DVERSION=\"1.3.2\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_IN
TTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURC
E=1 -D_COSMO_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTI
CS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_EXT__=1 -D__
STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -
D__EXTENSIONS__=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE__BOOL=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_SCHED_H=1 -DHAVE_ST
DINT_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UN
ISTD_H=1 -DHAVE_UTIME_H=1 -DHAVE_FORK=1 -DHAVE_GETCWD=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MALLOC=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MMAP
=1 -DHAVE_REALPATH=1 -DHAVE_SCHED_GETCPU=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT
=1 -DHAVE_PTHREAD=1 -DHAVE_LIBNUMA=1 -DHAVE_LIBZ=1 -DHAVE_LIBLZ4=1 -DXXH_NAMESPACE=QATZIP_ -DHAVE_QAT_CPA_H=1 -DHAVE_QAT_HEADERS=1 -DHAVE_QAT_CPA_DC_H=1
-DHAVE_QAT_HEADERS=1 -DHAVE_QAT_QAE_MEM_H=1 -DHAVE_QAT_HEADERS=1 -DHAVE_QAT_ICP_SAL_POLL_H=1 -DHAVE_QAT_HEADERS=1 -DHAVE_QAT_ICP_SAL_USER_H=1 -DHAVE_QAT_
HEADERS=1 -DHAVE_LIBQAT=1 -DHAVE_LIBUSDM=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I./ -I../include/ -DSAL_DEV_API -g -O2 -Werror=implicit-function-declarat
ion -ffile-prefix-map=/build/qatzip-1.3.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -
Wall -Werror -std=gnu99 -pedantic -fstack-protector-strong -fPIC -fno-delete-null-pointer-checks -fwrapv -O2 -c qatzip_utils.c -fPIC -DPIC -o .libs/libq
atzip_la-qatzip_utils.o
In function ‘metrixReset’,
inlined from ‘qzSetupSessionInternal’ at qatzip_utils.c:390:9:
qatzip_utils.c:1589:28: error: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Werror=all
oc-size-larger-than=]
1589 | m->latency_array = calloc(LSM_MET_DEPTH, sizeof(*(m->latency_array)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from qatzip_utils.c:36:
/usr/include/stdlib.h: In function ‘qzSetupSessionInternal’:
/usr/include/stdlib.h:675:14: note: in a call to allocation function ‘calloc’ declared here
675 | extern void *calloc (size_t __nmemb, size_t __size)
| ^~~~~~
In function ‘metrixReset’,
inlined from ‘qzSetupSessionInternal’ at qatzip_utils.c:389:9:
qatzip_utils.c:1589:28: error: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
1589 | m->latency_array = calloc(LSM_MET_DEPTH, sizeof(*(m->latency_array)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h: In function ‘qzSetupSessionInternal’:
/usr/include/stdlib.h:675:14: note: in a call to allocation function ‘calloc’ declared here
675 | extern void *calloc (size_t __nmemb, size_t __size)
| ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:574: libqatzip_la-qatzip_utils.lo] Error 1
make[2]: Leaving directory '/build/qatzip-1.3.2/src'
make[1]: *** [Makefile:582: all-recursive] Error 1
make[1]: Leaving directory '/build/qatzip-1.3.2'
Hi,
qatzip now stopped to compile on Debian sid, it worked a couple of weeks ago, so I suspect there were some toolchain updates:
Regards,
Daniel