Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/qatengine.spec'], chrootPath='/var/lib/mock/inferit-10_0-bootstrap-build-76960-151394/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '89e5db53baf241ab87bb485a72443a4f', '-D', '/var/lib/mock/inferit-10_0-bootstrap-build-76960-151394/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/qatengine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1732579200 Wrote: /builddir/build/SRPMS/qatengine-1.6.0-2.el10.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/qatengine.spec'], chrootPath='/var/lib/mock/inferit-10_0-bootstrap-build-76960-151394/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a7cf2735f55e4718b4b01d91451c2f97', '-D', '/var/lib/mock/inferit-10_0-bootstrap-build-76960-151394/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/qatengine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1732579200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.O0DMTb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf QAT_Engine-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/qatengine-1.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd QAT_Engine-1.6.0 + rm -rf /builddir/build/BUILD/QAT_Engine-1.6.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/QAT_Engine-1.6.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CXEnQy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd QAT_Engine-1.6.0 + autoreconf -ivf autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 aclocal: warning: couldn't open directory 'm4': No such file or directory autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:13: installing './compile' configure.ac:13: installing './config.guess' configure.ac:13: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-12-10 23:33:34.527546958 +0000 +++ ./configure 2024-12-10 23:33:35.278546997 +0000 @@ -1996,7 +1996,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-12-10 23:33:35.278546997 +0000 +++ ./configure 2024-12-10 23:33:35.298546998 +0000 @@ -7376,7 +7376,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -20781,7 +20781,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-file... no checking for file... file checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7382: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether ln -s works... yes checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for x86_64-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for /usr/include/qat/icp_sal_versions.h... yes #define SAL_INFO2_DRIVER_SW_VERSION_TYPE "in-tree" configure: QAT in-tree driver using QATlib in /usr checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config configure: Build QAT Engine against system OpenSSL 3.0 configure: Install engine/provider in the system OpenSSL Path checking for /usr/quickassist/lookaside/access_layer/src/common/crypto/kpt/crypto/lac_kpt_crypto_qat_comms.c... no configure: QAT_HW acceleration enabled ./configure: line 18868: lspci: command not found configure: Build with existing error files without regenerating from OpenSSL source configure: Insecure Algorithms disabled configure: Accelerating RSA to Hardware configure: Accelerating ECDSA to Hardware configure: Accelerating ECDH to Hardware configure: Accelerating X25519/X448 to Hardware configure: Accelerating PRF to Hardware configure: Accelerating CIPHERS to Hardware configure: Accelerating AES-CCM to Hardware checking for /include/openssl/ossl_typ.h... no checking for EVP_sm3 in -lcrypto... yes configure: USDM enabled checking for ldd... yes checking for head... yes configure: glibc version >= 2.23. glibc AVX-512 memcpy optimisation supported. =============================================================================== Enabled Algorithms and Additional Flags =============================================================================== QAT_HW ALGORITHMS : -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM QAT_SW ALGORITHMS : ADDITIONAL FLAGS : -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED =============================================================================== checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_utils.lo qat_utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_utils.c -fPIC -DPIC -o .libs/qat_utils.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:88, from qat_utils.c:49: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ make[1]: *** [Makefile:1446: qat_utils.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_callback.lo qat_hw_callback.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_callback.c -fPIC -DPIC -o .libs/qat_hw_callback.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make[1]: *** Waiting for unfinished jobs.... In file included from e_qat.h:88, from qat_hw_callback.h:55, from qat_hw_callback.c:62: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ make[1]: *** [Makefile:1446: qat_hw_callback.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_asym_common.lo qat_hw_asym_common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_asym_common.c -fPIC -DPIC -o .libs/qat_hw_asym_common.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:65, from qat_hw_asym_common.c:65: qat_hw_asym_common.c: In function 'qat_mod_exp': qat_hw_asym_common.c:211:39: error: 'ERR_R_INTERNAL_ERROR' undeclared (first use in this function); did you mean 'QAT_R_INTERNAL_ERROR'? 211 | QATerr(QAT_F_QAT_MOD_EXP, ERR_R_INTERNAL_ERROR); | ^~~~~~~~~~~~~~~~~~~~ qat_prov_err.h:19:41: note: in definition of macro 'QATerr' 19 | # define QATerr(f, r) ERR_QAT_error(0, (r), OPENSSL_FILE, OPENSSL_LINE) | ^ qat_hw_asym_common.c:211:39: note: each undeclared identifier is reported only once for each function it appears in 211 | QATerr(QAT_F_QAT_MOD_EXP, ERR_R_INTERNAL_ERROR); | ^~~~~~~~~~~~~~~~~~~~ qat_prov_err.h:19:41: note: in definition of macro 'QATerr' 19 | # define QATerr(f, r) ERR_QAT_error(0, (r), OPENSSL_FILE, OPENSSL_LINE) | ^ make[1]: *** [Makefile:1446: qat_hw_asym_common.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_polling.lo qat_hw_polling.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_polling.c -fPIC -DPIC -o .libs/qat_hw_polling.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:88, from qat_hw_polling.h:52, from qat_hw_polling.c:65: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ make[1]: *** [Makefile:1446: qat_hw_polling.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_fork.lo qat_fork.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_fork.c -fPIC -DPIC -o .libs/qat_fork.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:88, from qat_fork.h:49, from qat_fork.c:64: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ qat_fork.c: In function 'engine_init_child_at_fork_handler': qat_fork.c:95:17: error: implicit declaration of function 'ENGINE_by_id' [-Wimplicit-function-declaration] 95 | ENGINE* e = ENGINE_by_id(engine_qat_id); | ^~~~~~~~~~~~ qat_fork.c:95:17: error: initialization of 'ENGINE *' {aka 'struct engine_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] qat_fork.c:102:9: error: implicit declaration of function 'qat_engine_init' [-Wimplicit-function-declaration] 102 | if (qat_engine_init(e) != 1) { | ^~~~~~~~~~~~~~~ qat_fork.c:106:5: error: implicit declaration of function 'ENGINE_free'; did you mean 'ENGINEerr'? [-Wimplicit-function-declaration] 106 | ENGINE_free(e); | ^~~~~~~~~~~ | ENGINEerr qat_fork.c: In function 'engine_finish_before_fork_handler': qat_fork.c:135:17: error: initialization of 'ENGINE *' {aka 'struct engine_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 135 | ENGINE* e = ENGINE_by_id(engine_qat_id); | ^~~~~~~~~~~~ qat_fork.c:142:5: error: implicit declaration of function 'qat_engine_finish_int' [-Wimplicit-function-declaration] 142 | qat_engine_finish_int(e, QAT_RETAIN_GLOBALS); | ^~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:1446: qat_fork.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_rsa.lo qat_hw_rsa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_rsa.c -fPIC -DPIC -o .libs/qat_hw_rsa.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from qat_hw_rsa.c:77: qat_evp.h:64:37: error: unknown type name 'EC_POINT'; did you mean 'DIST_POINT'? 64 | const EC_POINT *, | ^~~~~~~~ | DIST_POINT qat_evp.h:91:9: error: unknown type name 'ECDSA_SIG' 91 | typedef ECDSA_SIG *(*PFUNC_SIGN_SIG)(const unsigned char *, | ^~~~~~~~~ qat_evp.h:106:39: error: unknown type name 'ECDSA_SIG' 106 | const ECDSA_SIG *, | ^~~~~~~~~ make[1]: *** [Makefile:1446: qat_hw_rsa.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_init.lo qat_hw_init.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_init.c -fPIC -DPIC -o .libs/qat_hw_init.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:88, from qat_hw_init.c:75: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ qat_hw_init.c: In function 'qat_use_signals': qat_hw_init.c:132:21: error: implicit declaration of function 'ENGINE_by_id' [-Wimplicit-function-declaration] 132 | ENGINE* e = ENGINE_by_id(engine_qat_id); | ^~~~~~~~~~~~ qat_hw_init.c:132:21: error: initialization of 'ENGINE *' {aka 'struct engine_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] qat_hw_init.c:139:14: error: implicit declaration of function 'qat_engine_init' [-Wimplicit-function-declaration] 139 | if (!qat_engine_init(e)) { | ^~~~~~~~~~~~~~~ qat_hw_init.c:141:13: error: implicit declaration of function 'ENGINE_free'; did you mean 'ENGINEerr'? [-Wimplicit-function-declaration] 141 | ENGINE_free(e); | ^~~~~~~~~~~ | ENGINEerr qat_hw_init.c: In function 'get_instance': qat_hw_init.c:232:21: error: initialization of 'ENGINE *' {aka 'struct engine_st *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 232 | ENGINE* e = ENGINE_by_id(engine_qat_id); | ^~~~~~~~~~~~ qat_hw_init.c: In function 'qat_hw_init': qat_hw_init.c:539:9: error: implicit declaration of function 'qat_hw_finish_int'; did you mean 'qat_hw_init'? [-Wimplicit-function-declaration] 539 | qat_hw_finish_int(e, QAT_RESET_GLOBALS); | ^~~~~~~~~~~~~~~~~ | qat_hw_init make[1]: *** [Makefile:1446: qat_hw_init.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_ciphers.lo qat_hw_ciphers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_ciphers.c -fPIC -DPIC -o .libs/qat_hw_ciphers.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:88, from qat_hw_ciphers.c:68: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ In file included from qat_hw_ciphers.c:72: qat_evp.h:64:37: error: unknown type name 'EC_POINT'; did you mean 'DIST_POINT'? 64 | const EC_POINT *, | ^~~~~~~~ | DIST_POINT qat_evp.h:91:9: error: unknown type name 'ECDSA_SIG' 91 | typedef ECDSA_SIG *(*PFUNC_SIGN_SIG)(const unsigned char *, | ^~~~~~~~~ qat_evp.h:106:39: error: unknown type name 'ECDSA_SIG' 106 | const ECDSA_SIG *, | ^~~~~~~~~ make[1]: *** [Makefile:1446: qat_hw_ciphers.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_evp.lo qat_evp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_evp.c -fPIC -DPIC -o .libs/qat_evp.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from qat_evp.c:59: qat_evp.h:64:37: error: unknown type name 'EC_POINT'; did you mean 'DIST_POINT'? 64 | const EC_POINT *, | ^~~~~~~~ | DIST_POINT qat_evp.h:91:9: error: unknown type name 'ECDSA_SIG' 91 | typedef ECDSA_SIG *(*PFUNC_SIGN_SIG)(const unsigned char *, | ^~~~~~~~~ qat_evp.h:106:39: error: unknown type name 'ECDSA_SIG' 106 | const ECDSA_SIG *, | ^~~~~~~~~ qat_evp.c: In function 'qat_get_EC_methods': qat_evp.c:1654:32: error: passing argument 4 of 'EC_KEY_METHOD_get_sign' from incompatible pointer type [-Wincompatible-pointer-types] 1654 | &sign_sig_pfunc); | ^~~~~~~~~~~~~~~ | | | int * (**)(const unsigned char *, int, const BIGNUM *, const BIGNUM *, EC_KEY *) {aka int * (**)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)} In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:32, from qat_hw_ciphers.h:52, from qat_evp.c:65: /usr/include/openssl/ec.h:1552:38: note: expected 'ECDSA_SIG * (**)(const unsigned char *, int, const BIGNUM *, const BIGNUM *, EC_KEY *)' {aka 'struct ECDSA_SIG_st * (**)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)'} but argument is of type 'int * (**)(const unsigned char *, int, const BIGNUM *, const BIGNUM *, EC_KEY *)' {aka 'int * (**)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)'} 1552 | ECDSA_SIG *(**psign_sig)(const unsigned char *dgst, | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1553 | int dgst_len, | ~~~~~~~~~~~~~ 1554 | const BIGNUM *in_kinv, | ~~~~~~~~~~~~~~~~~~~~~~ 1555 | const BIGNUM *in_r, | ~~~~~~~~~~~~~~~~~~~ 1556 | EC_KEY *eckey)); | ~~~~~~~~~~~~~~ qat_evp.c:1658:32: error: passing argument 4 of 'EC_KEY_METHOD_set_sign' from incompatible pointer type [-Wincompatible-pointer-types] 1658 | sign_sig_pfunc); | ^~~~~~~~~~~~~~ | | | PFUNC_SIGN_SIG {aka int * (*)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)} /usr/include/openssl/ec.h:1508:37: note: expected 'ECDSA_SIG * (*)(const unsigned char *, int, const BIGNUM *, const BIGNUM *, EC_KEY *)' {aka 'struct ECDSA_SIG_st * (*)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)'} but argument is of type 'PFUNC_SIGN_SIG' {aka 'int * (*)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)'} 1508 | ECDSA_SIG *(*sign_sig)(const unsigned char *dgst, | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1509 | int dgst_len, | ~~~~~~~~~~~~~ 1510 | const BIGNUM *in_kinv, | ~~~~~~~~~~~~~~~~~~~~~~ 1511 | const BIGNUM *in_r, | ~~~~~~~~~~~~~~~~~~~ 1512 | EC_KEY *eckey)); | ~~~~~~~~~~~~~~ qat_evp.c:1661:34: error: passing argument 3 of 'EC_KEY_METHOD_get_verify' from incompatible pointer type [-Wincompatible-pointer-types] 1661 | &verify_sig_pfunc); | ^~~~~~~~~~~~~~~~~ | | | int (**)(const unsigned char *, int, const int *, EC_KEY *) {aka int (**)(const unsigned char *, int, const int *, struct ec_key_st *)} /usr/include/openssl/ec.h:1564:31: note: expected 'int (**)(const unsigned char *, int, const ECDSA_SIG *, EC_KEY *)' {aka 'int (**)(const unsigned char *, int, const struct ECDSA_SIG_st *, struct ec_key_st *)'} but argument is of type 'int (**)(const unsigned char *, int, const int *, EC_KEY *)' {aka 'int (**)(const unsigned char *, int, const int *, struct ec_key_st *)'} 1564 | int (**pverify_sig)(const unsigned char *dgst, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1565 | int dgst_len, | ~~~~~~~~~~~~~ 1566 | const ECDSA_SIG *sig, | ~~~~~~~~~~~~~~~~~~~~~ 1567 | EC_KEY *eckey)); | ~~~~~~~~~~~~~~ qat_evp.c:1664:34: error: passing argument 3 of 'EC_KEY_METHOD_set_verify' from incompatible pointer type [-Wincompatible-pointer-types] 1664 | verify_sig_pfunc); | ^~~~~~~~~~~~~~~~ | | | PFUNC_VERIFY_SIG {aka int (*)(const unsigned char *, int, const int *, struct ec_key_st *)} /usr/include/openssl/ec.h:1520:30: note: expected 'int (*)(const unsigned char *, int, const ECDSA_SIG *, EC_KEY *)' {aka 'int (*)(const unsigned char *, int, const struct ECDSA_SIG_st *, struct ec_key_st *)'} but argument is of type 'PFUNC_VERIFY_SIG' {aka 'int (*)(const unsigned char *, int, const int *, struct ec_key_st *)'} 1520 | int (*verify_sig)(const unsigned char *dgst, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1521 | int dgst_len, const ECDSA_SIG *sig, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1522 | EC_KEY *eckey)); | ~~~~~~~~~~~~~~ qat_evp.c:1712:53: error: passing argument 2 of 'EC_KEY_METHOD_get_compute_key' from incompatible pointer type [-Wincompatible-pointer-types] 1712 | EC_KEY_METHOD_get_compute_key(def_ec_meth, &comp_key_pfunc); | ^~~~~~~~~~~~~~~ | | | int (**)(unsigned char **, size_t *, const int *, const EC_KEY *) {aka int (**)(unsigned char **, long unsigned int *, const int *, const struct ec_key_st *)} /usr/include/openssl/ec.h:1538:31: note: expected 'int (**)(unsigned char **, size_t *, const EC_POINT *, const EC_KEY *)' {aka 'int (**)(unsigned char **, long unsigned int *, const struct ec_point_st *, const struct ec_key_st *)'} but argument is of type 'int (**)(unsigned char **, size_t *, const int *, const EC_KEY *)' {aka 'int (**)(unsigned char **, long unsigned int *, const int *, const struct ec_key_st *)'} 1538 | int (**pck)(unsigned char **psec, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 1539 | size_t *pseclen, | ~~~~~~~~~~~~~~~~ 1540 | const EC_POINT *pub_key, | ~~~~~~~~~~~~~~~~~~~~~~~~ 1541 | const EC_KEY *ecdh)); | ~~~~~~~~~~~~~~~~~~~ qat_evp.c:1713:55: error: passing argument 2 of 'EC_KEY_METHOD_set_compute_key' from incompatible pointer type [-Wincompatible-pointer-types] 1713 | EC_KEY_METHOD_set_compute_key(qat_ec_method, comp_key_pfunc); | ^~~~~~~~~~~~~~ | | | PFUNC_COMP_KEY {aka int (*)(unsigned char **, long unsigned int *, const int *, const struct ec_key_st *)} /usr/include/openssl/ec.h:1496:30: note: expected 'int (*)(unsigned char **, size_t *, const EC_POINT *, const EC_KEY *)' {aka 'int (*)(unsigned char **, long unsigned int *, const struct ec_point_st *, const struct ec_key_st *)'} but argument is of type 'PFUNC_COMP_KEY' {aka 'int (*)(unsigned char **, long unsigned int *, const int *, const struct ec_key_st *)'} 1496 | int (*ckey)(unsigned char **psec, size_t *pseclen, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1497 | const EC_POINT *pub_key, const EC_KEY *ecdh)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:1446: qat_evp.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_prov_err.lo qat_prov_err.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_prov_err.c -fPIC -DPIC -o .libs/qat_prov_err.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_prov_err.c -o qat_prov_err.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_dsa.lo qat_hw_dsa.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_dsa.c -fPIC -DPIC -o .libs/qat_hw_dsa.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_dsa.c -o qat_hw_dsa.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_dh.lo qat_hw_dh.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_dh.c -fPIC -DPIC -o .libs/qat_hw_dh.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_dh.c -o qat_hw_dh.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_events.lo qat_events.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_events.c -fPIC -DPIC -o .libs/qat_events.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_events.c -o qat_events.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_rsa_crt.lo qat_hw_rsa_crt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_rsa_crt.c -fPIC -DPIC -o .libs/qat_hw_rsa_crt.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_rsa_crt.c -o qat_hw_rsa_crt.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o e_qat.lo e_qat.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c e_qat.c -fPIC -DPIC -o .libs/e_qat.o make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' In file included from e_qat.h:88, from e_qat.c:81: qat_common.h:80:5: error: unknown type name 'OSSL_LIB_CTX' 80 | OSSL_LIB_CTX *libctx; | ^~~~~~~~~~~~ e_qat.h:753:17: error: unknown type name 'ENGINE' 753 | int qat_hw_init(ENGINE *e); | ^~~~~~ e_qat.h:768:14: error: unknown type name 'ENGINE' 768 | int bind_qat(ENGINE *e, const char *id); | ^~~~~~ e_qat.h:779:21: error: unknown type name 'ENGINE' 779 | int qat_engine_init(ENGINE *e); | ^~~~~~ e_qat.h:802:21: error: unknown type name 'ENGINE' 802 | int qat_engine_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f) (void)); | ^~~~~~ e_qat.h:814:23: error: unknown type name 'ENGINE' 814 | int qat_hw_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ e_qat.h:826:23: error: unknown type name 'ENGINE' 826 | int qat_engine_finish(ENGINE *e); | ^~~~~~ e_qat.h:841:27: error: unknown type name 'ENGINE' 841 | int qat_engine_finish_int(ENGINE *e, int reset_globals); | ^~~~~~ In file included from e_qat.c:83: qat_evp.h:64:37: error: unknown type name 'EC_POINT'; did you mean 'DIST_POINT'? 64 | const EC_POINT *, | ^~~~~~~~ | DIST_POINT qat_evp.h:91:9: error: unknown type name 'ECDSA_SIG' 91 | typedef ECDSA_SIG *(*PFUNC_SIGN_SIG)(const unsigned char *, | ^~~~~~~~~ qat_evp.h:106:39: error: unknown type name 'ECDSA_SIG' 106 | const ECDSA_SIG *, | ^~~~~~~~~ e_qat.c:344:7: error: unknown type name 'ENGINE_CMD_DEFN' 344 | const ENGINE_CMD_DEFN qat_cmd_defns[] = { | ^~~~~~~~~~~~~~~ e_qat.c:345:5: warning: braces around scalar initializer 345 | { | ^ e_qat.c:345:5: note: (near initialization for 'qat_cmd_defns[0]') e_qat.h:615:42: error: 'ENGINE_CMD_BASE' undeclared here (not in a function) 615 | # define QAT_CMD_ENABLE_EXTERNAL_POLLING ENGINE_CMD_BASE | ^~~~~~~~~~~~~~~ e_qat.c:346:9: note: in expansion of macro 'QAT_CMD_ENABLE_EXTERNAL_POLLING' 346 | QAT_CMD_ENABLE_EXTERNAL_POLLING, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:347:9: warning: excess elements in scalar initializer 347 | "ENABLE_EXTERNAL_POLLING", | ^~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:347:9: note: (near initialization for 'qat_cmd_defns[0]') e_qat.c:348:9: warning: excess elements in scalar initializer 348 | "Enables the external polling interface to the engine.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:348:9: note: (near initialization for 'qat_cmd_defns[0]') e_qat.c:349:9: error: 'ENGINE_CMD_FLAG_NO_INPUT' undeclared here (not in a function) 349 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:349:9: warning: excess elements in scalar initializer e_qat.c:349:9: note: (near initialization for 'qat_cmd_defns[0]') e_qat.c:350:5: warning: braces around scalar initializer 350 | { | ^ e_qat.c:350:5: note: (near initialization for 'qat_cmd_defns[1]') e_qat.c:352:9: warning: excess elements in scalar initializer 352 | "POLL", | ^~~~~~ e_qat.c:352:9: note: (near initialization for 'qat_cmd_defns[1]') e_qat.c:353:9: warning: excess elements in scalar initializer 353 | "Polls the engine for any completed requests", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:353:9: note: (near initialization for 'qat_cmd_defns[1]') e_qat.c:354:9: warning: excess elements in scalar initializer 354 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:354:9: note: (near initialization for 'qat_cmd_defns[1]') e_qat.c:356:5: warning: braces around scalar initializer 356 | { | ^ e_qat.c:356:5: note: (near initialization for 'qat_cmd_defns[2]') e_qat.c:358:9: warning: excess elements in scalar initializer 358 | "SET_INSTANCE_FOR_THREAD", | ^~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:358:9: note: (near initialization for 'qat_cmd_defns[2]') e_qat.c:359:9: warning: excess elements in scalar initializer 359 | "Set instance to be used by this thread", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:359:9: note: (near initialization for 'qat_cmd_defns[2]') e_qat.c:360:9: error: 'ENGINE_CMD_FLAG_NUMERIC' undeclared here (not in a function) 360 | ENGINE_CMD_FLAG_NUMERIC}, | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:360:9: warning: excess elements in scalar initializer e_qat.c:360:9: note: (near initialization for 'qat_cmd_defns[2]') e_qat.c:361:5: warning: braces around scalar initializer 361 | { | ^ e_qat.c:361:5: note: (near initialization for 'qat_cmd_defns[3]') e_qat.c:363:9: warning: excess elements in scalar initializer 363 | "GET_NUM_OP_RETRIES", | ^~~~~~~~~~~~~~~~~~~~ e_qat.c:363:9: note: (near initialization for 'qat_cmd_defns[3]') e_qat.c:364:9: warning: excess elements in scalar initializer 364 | "Get number of retries", | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:364:9: note: (near initialization for 'qat_cmd_defns[3]') e_qat.c:365:9: warning: excess elements in scalar initializer 365 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:365:9: note: (near initialization for 'qat_cmd_defns[3]') e_qat.c:366:5: warning: braces around scalar initializer 366 | { | ^ e_qat.c:366:5: note: (near initialization for 'qat_cmd_defns[4]') e_qat.c:368:9: warning: excess elements in scalar initializer 368 | "SET_MAX_RETRY_COUNT", | ^~~~~~~~~~~~~~~~~~~~~ e_qat.c:368:9: note: (near initialization for 'qat_cmd_defns[4]') e_qat.c:369:9: warning: excess elements in scalar initializer 369 | "Set maximum retry count", | ^~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:369:9: note: (near initialization for 'qat_cmd_defns[4]') e_qat.c:370:9: warning: excess elements in scalar initializer 370 | ENGINE_CMD_FLAG_NUMERIC}, | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:370:9: note: (near initialization for 'qat_cmd_defns[4]') e_qat.c:371:5: warning: braces around scalar initializer 371 | { | ^ e_qat.c:371:5: note: (near initialization for 'qat_cmd_defns[5]') e_qat.c:373:9: warning: excess elements in scalar initializer 373 | "SET_INTERNAL_POLL_INTERVAL", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:373:9: note: (near initialization for 'qat_cmd_defns[5]') e_qat.c:374:9: warning: excess elements in scalar initializer 374 | "Set internal polling interval", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:374:9: note: (near initialization for 'qat_cmd_defns[5]') e_qat.c:375:9: warning: excess elements in scalar initializer 375 | ENGINE_CMD_FLAG_NUMERIC}, | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:375:9: note: (near initialization for 'qat_cmd_defns[5]') e_qat.c:377:5: warning: braces around scalar initializer 377 | { | ^ e_qat.c:377:5: note: (near initialization for 'qat_cmd_defns[6]') e_qat.c:379:9: warning: excess elements in scalar initializer 379 | "GET_EXTERNAL_POLLING_FD", | ^~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:379:9: note: (near initialization for 'qat_cmd_defns[6]') e_qat.c:380:9: warning: excess elements in scalar initializer 380 | "Returns non blocking fd for crypto engine", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:380:9: note: (near initialization for 'qat_cmd_defns[6]') e_qat.c:381:9: warning: excess elements in scalar initializer 381 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:381:9: note: (near initialization for 'qat_cmd_defns[6]') e_qat.c:382:5: warning: braces around scalar initializer 382 | { | ^ e_qat.c:382:5: note: (near initialization for 'qat_cmd_defns[7]') e_qat.c:384:9: warning: excess elements in scalar initializer 384 | "ENABLE_EVENT_DRIVEN_POLLING_MODE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:384:9: note: (near initialization for 'qat_cmd_defns[7]') e_qat.c:385:9: warning: excess elements in scalar initializer 385 | "Set event driven polling mode", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:385:9: note: (near initialization for 'qat_cmd_defns[7]') e_qat.c:386:9: warning: excess elements in scalar initializer 386 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:386:9: note: (near initialization for 'qat_cmd_defns[7]') e_qat.c:388:5: warning: braces around scalar initializer 388 | { | ^ e_qat.c:388:5: note: (near initialization for 'qat_cmd_defns[8]') e_qat.c:390:9: warning: excess elements in scalar initializer 390 | "GET_NUM_CRYPTO_INSTANCES", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:390:9: note: (near initialization for 'qat_cmd_defns[8]') e_qat.c:391:9: warning: excess elements in scalar initializer 391 | "Get the number of crypto instances", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:391:9: note: (near initialization for 'qat_cmd_defns[8]') e_qat.c:392:9: warning: excess elements in scalar initializer 392 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:392:9: note: (near initialization for 'qat_cmd_defns[8]') e_qat.c:394:5: warning: braces around scalar initializer 394 | { | ^ e_qat.c:394:5: note: (near initialization for 'qat_cmd_defns[9]') e_qat.c:396:9: warning: excess elements in scalar initializer 396 | "DISABLE_EVENT_DRIVEN_POLLING_MODE", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:396:9: note: (near initialization for 'qat_cmd_defns[9]') e_qat.c:397:9: warning: excess elements in scalar initializer 397 | "Unset event driven polling mode", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:397:9: note: (near initialization for 'qat_cmd_defns[9]') e_qat.c:398:9: warning: excess elements in scalar initializer 398 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:398:9: note: (near initialization for 'qat_cmd_defns[9]') e_qat.c:400:5: warning: braces around scalar initializer 400 | { | ^ e_qat.c:400:5: note: (near initialization for 'qat_cmd_defns[10]') e_qat.c:402:9: warning: excess elements in scalar initializer 402 | "SET_EPOLL_TIMEOUT", | ^~~~~~~~~~~~~~~~~~~ e_qat.c:402:9: note: (near initialization for 'qat_cmd_defns[10]') e_qat.c:403:9: warning: excess elements in scalar initializer 403 | "Set epoll_wait timeout", | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:403:9: note: (near initialization for 'qat_cmd_defns[10]') e_qat.c:404:9: warning: excess elements in scalar initializer 404 | ENGINE_CMD_FLAG_NUMERIC}, | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:404:9: note: (near initialization for 'qat_cmd_defns[10]') e_qat.c:405:5: warning: braces around scalar initializer 405 | { | ^ e_qat.c:405:5: note: (near initialization for 'qat_cmd_defns[11]') e_qat.c:407:9: warning: excess elements in scalar initializer 407 | "SET_CRYPTO_SMALL_PACKET_OFFLOAD_THRESHOLD", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:407:9: note: (near initialization for 'qat_cmd_defns[11]') e_qat.c:408:9: warning: excess elements in scalar initializer 408 | "Set QAT small packet threshold", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:408:9: note: (near initialization for 'qat_cmd_defns[11]') e_qat.c:409:9: error: 'ENGINE_CMD_FLAG_STRING' undeclared here (not in a function) 409 | ENGINE_CMD_FLAG_STRING}, | ^~~~~~~~~~~~~~~~~~~~~~ e_qat.c:409:9: warning: excess elements in scalar initializer e_qat.c:409:9: note: (near initialization for 'qat_cmd_defns[11]') e_qat.c:410:5: warning: braces around scalar initializer 410 | { | ^ e_qat.c:410:5: note: (near initialization for 'qat_cmd_defns[12]') e_qat.c:412:9: warning: excess elements in scalar initializer 412 | "ENABLE_INLINE_POLLING", | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:412:9: note: (near initialization for 'qat_cmd_defns[12]') e_qat.c:413:9: warning: excess elements in scalar initializer 413 | "Enables the inline polling mode.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:413:9: note: (near initialization for 'qat_cmd_defns[12]') e_qat.c:414:9: warning: excess elements in scalar initializer 414 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:414:9: note: (near initialization for 'qat_cmd_defns[12]') e_qat.c:416:5: warning: braces around scalar initializer 416 | { | ^ e_qat.c:416:5: note: (near initialization for 'qat_cmd_defns[13]') e_qat.c:418:9: warning: excess elements in scalar initializer 418 | "ENABLE_HEURISTIC_POLLING", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:418:9: note: (near initialization for 'qat_cmd_defns[13]') e_qat.c:419:9: warning: excess elements in scalar initializer 419 | "Enable the heuristic polling mode", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:419:9: note: (near initialization for 'qat_cmd_defns[13]') e_qat.c:420:9: warning: excess elements in scalar initializer 420 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:420:9: note: (near initialization for 'qat_cmd_defns[13]') e_qat.c:421:5: warning: braces around scalar initializer 421 | { | ^ e_qat.c:421:5: note: (near initialization for 'qat_cmd_defns[14]') e_qat.c:423:9: warning: excess elements in scalar initializer 423 | "GET_NUM_REQUESTS_IN_FLIGHT", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:423:9: note: (near initialization for 'qat_cmd_defns[14]') e_qat.c:424:9: warning: excess elements in scalar initializer 424 | "Get the number of in-flight requests", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:424:9: note: (near initialization for 'qat_cmd_defns[14]') e_qat.c:425:9: warning: excess elements in scalar initializer 425 | ENGINE_CMD_FLAG_NUMERIC}, | ^~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:425:9: note: (near initialization for 'qat_cmd_defns[14]') e_qat.c:426:5: warning: braces around scalar initializer 426 | { | ^ e_qat.c:426:5: note: (near initialization for 'qat_cmd_defns[15]') e_qat.c:428:9: warning: excess elements in scalar initializer 428 | "INIT_ENGINE", | ^~~~~~~~~~~~~ e_qat.c:428:9: note: (near initialization for 'qat_cmd_defns[15]') e_qat.c:429:9: warning: excess elements in scalar initializer 429 | "Initializes the engine if not already initialized", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:429:9: note: (near initialization for 'qat_cmd_defns[15]') e_qat.c:430:9: warning: excess elements in scalar initializer 430 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:430:9: note: (near initialization for 'qat_cmd_defns[15]') e_qat.c:432:5: warning: braces around scalar initializer 432 | { | ^ e_qat.c:432:5: note: (near initialization for 'qat_cmd_defns[16]') e_qat.c:434:9: warning: excess elements in scalar initializer 434 | "SET_CONFIGURATION_SECTION_NAME", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:434:9: note: (near initialization for 'qat_cmd_defns[16]') e_qat.c:435:9: warning: excess elements in scalar initializer 435 | "Set the configuration section to use in QAT driver configuration file", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:435:9: note: (near initialization for 'qat_cmd_defns[16]') e_qat.c:436:9: warning: excess elements in scalar initializer 436 | ENGINE_CMD_FLAG_STRING}, | ^~~~~~~~~~~~~~~~~~~~~~ e_qat.c:436:9: note: (near initialization for 'qat_cmd_defns[16]') e_qat.c:438:5: warning: braces around scalar initializer 438 | { | ^ e_qat.c:438:5: note: (near initialization for 'qat_cmd_defns[17]') e_qat.c:440:9: warning: excess elements in scalar initializer 440 | "ENABLE_SW_FALLBACK", | ^~~~~~~~~~~~~~~~~~~~ e_qat.c:440:9: note: (near initialization for 'qat_cmd_defns[17]') e_qat.c:441:9: warning: excess elements in scalar initializer 441 | "Enables the fallback to SW if the acceleration devices go offline", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:441:9: note: (near initialization for 'qat_cmd_defns[17]') e_qat.c:442:9: warning: excess elements in scalar initializer 442 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:442:9: note: (near initialization for 'qat_cmd_defns[17]') e_qat.c:443:5: warning: braces around scalar initializer 443 | { | ^ e_qat.c:443:5: note: (near initialization for 'qat_cmd_defns[18]') e_qat.c:445:9: warning: excess elements in scalar initializer 445 | "HEARTBEAT_POLL", | ^~~~~~~~~~~~~~~~ e_qat.c:445:9: note: (near initialization for 'qat_cmd_defns[18]') e_qat.c:446:9: warning: excess elements in scalar initializer 446 | "Check the acceleration devices are still functioning", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:446:9: note: (near initialization for 'qat_cmd_defns[18]') e_qat.c:447:9: warning: excess elements in scalar initializer 447 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:447:9: note: (near initialization for 'qat_cmd_defns[18]') e_qat.c:449:5: warning: braces around scalar initializer 449 | { | ^ e_qat.c:449:5: note: (near initialization for 'qat_cmd_defns[19]') e_qat.c:451:9: warning: excess elements in scalar initializer 451 | "DISABLE_QAT_OFFLOAD", | ^~~~~~~~~~~~~~~~~~~~~ e_qat.c:451:9: note: (near initialization for 'qat_cmd_defns[19]') e_qat.c:452:9: warning: excess elements in scalar initializer 452 | "Perform crypto operations on core", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:452:9: note: (near initialization for 'qat_cmd_defns[19]') e_qat.c:453:9: warning: excess elements in scalar initializer 453 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:453:9: note: (near initialization for 'qat_cmd_defns[19]') e_qat.c:457:5: warning: braces around scalar initializer 457 | { | ^ e_qat.c:457:5: note: (near initialization for 'qat_cmd_defns[20]') e_qat.c:459:9: warning: excess elements in scalar initializer 459 | "HW_ALGO_BITMAP", | ^~~~~~~~~~~~~~~~ e_qat.c:459:9: note: (near initialization for 'qat_cmd_defns[20]') e_qat.c:460:9: warning: excess elements in scalar initializer 460 | "Set the HW algorithm bitmap and reload the algorithm registration", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:460:9: note: (near initialization for 'qat_cmd_defns[20]') e_qat.c:461:9: warning: excess elements in scalar initializer 461 | ENGINE_CMD_FLAG_STRING | ^~~~~~~~~~~~~~~~~~~~~~ e_qat.c:461:9: note: (near initialization for 'qat_cmd_defns[20]') e_qat.c:474:5: warning: braces around scalar initializer 474 | {0, NULL, NULL, 0} | ^ e_qat.c:474:5: note: (near initialization for 'qat_cmd_defns[21]') e_qat.c:474:9: warning: excess elements in scalar initializer 474 | {0, NULL, NULL, 0} | ^~~~ e_qat.c:474:9: note: (near initialization for 'qat_cmd_defns[21]') e_qat.c:474:15: warning: excess elements in scalar initializer 474 | {0, NULL, NULL, 0} | ^~~~ e_qat.c:474:15: note: (near initialization for 'qat_cmd_defns[21]') e_qat.c:474:21: warning: excess elements in scalar initializer 474 | {0, NULL, NULL, 0} | ^ e_qat.c:474:21: note: (near initialization for 'qat_cmd_defns[21]') e_qat.c: In function 'qat_engine_init': e_qat.c:607:14: error: implicit declaration of function 'qat_hw_init'; did you mean 'qat_dsa_init'? [-Wimplicit-function-declaration] 607 | if (!qat_hw_init(e)) { | ^~~~~~~~~~~ | qat_dsa_init e_qat.c: In function 'qat_engine_finish_int': e_qat.c:676:15: error: implicit declaration of function 'qat_hw_finish_int'; did you mean 'qat_engine_finish_int'? [-Wimplicit-function-declaration] 676 | ret = qat_hw_finish_int(e, reset_globals); | ^~~~~~~~~~~~~~~~~ | qat_engine_finish_int e_qat.c: In function 'qat_engine_ctrl': e_qat.c:1025:19: error: implicit declaration of function 'bind_qat' [-Wimplicit-function-declaration] 1025 | BREAK_IF(!bind_qat(e, engine_qat_id), "QAT Engine bind failed\n"); | ^~~~~~~~ e_qat.h:95:43: note: in definition of macro 'unlikely' 95 | # define unlikely(x) __builtin_expect (!!(x), 0) | ^ e_qat.c:1025:9: note: in expansion of macro 'BREAK_IF' 1025 | BREAK_IF(!bind_qat(e, engine_qat_id), "QAT Engine bind failed\n"); | ^~~~~~~~ e_qat.c: In function 'bind_qat': e_qat.c:1170:10: error: implicit declaration of function 'ENGINE_set_id' [-Wimplicit-function-declaration] 1170 | if (!ENGINE_set_id(e, engine_qat_id)) { | ^~~~~~~~~~~~~ e_qat.c:1175:10: error: implicit declaration of function 'ENGINE_set_name' [-Wimplicit-function-declaration] 1175 | if (!ENGINE_set_name(e, engine_qat_name)) { | ^~~~~~~~~~~~~~~ e_qat.c:1197:10: error: implicit declaration of function 'ENGINE_set_RSA' [-Wimplicit-function-declaration] 1197 | if (!ENGINE_set_RSA(e, qat_get_RSA_methods())) { | ^~~~~~~~~~~~~~ e_qat.c:1202:10: error: implicit declaration of function 'ENGINE_set_EC' [-Wimplicit-function-declaration] 1202 | if (!ENGINE_set_EC(e, qat_get_EC_methods())) { | ^~~~~~~~~~~~~ e_qat.c:1207:10: error: implicit declaration of function 'ENGINE_set_pkey_meths' [-Wimplicit-function-declaration] 1207 | if (!ENGINE_set_pkey_meths(e, qat_pkey_methods)) { | ^~~~~~~~~~~~~~~~~~~~~ e_qat.c:1214:10: error: implicit declaration of function 'ENGINE_set_digests' [-Wimplicit-function-declaration] 1214 | if (!ENGINE_set_digests(e, qat_digest_methods)) { | ^~~~~~~~~~~~~~~~~~ e_qat.c:1223:10: error: implicit declaration of function 'ENGINE_set_ciphers'; did you mean 'BIO_set_cipher'? [-Wimplicit-function-declaration] 1223 | if (!ENGINE_set_ciphers(e, qat_ciphers)) { | ^~~~~~~~~~~~~~~~~~ | BIO_set_cipher e_qat.c:1230:12: error: implicit declaration of function 'ENGINE_set_destroy_function' [-Wimplicit-function-declaration] 1230 | ret &= ENGINE_set_destroy_function(e, qat_engine_destroy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:1231:12: error: implicit declaration of function 'ENGINE_set_init_function' [-Wimplicit-function-declaration] 1231 | ret &= ENGINE_set_init_function(e, qat_engine_init); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:1232:12: error: implicit declaration of function 'ENGINE_set_ctrl_function' [-Wimplicit-function-declaration] 1232 | ret &= ENGINE_set_ctrl_function(e, qat_engine_ctrl); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:1233:12: error: implicit declaration of function 'ENGINE_set_finish_function' [-Wimplicit-function-declaration] 1233 | ret &= ENGINE_set_finish_function(e, qat_engine_finish); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:1237:12: error: implicit declaration of function 'ENGINE_set_cmd_defns' [-Wimplicit-function-declaration] 1237 | ret &= ENGINE_set_cmd_defns(e, qat_cmd_defns); | ^~~~~~~~~~~~~~~~~~~~ e_qat.c: At top level: e_qat.c:1423:1: error: return type defaults to 'int' [-Wimplicit-int] 1423 | IMPLEMENT_DYNAMIC_BIND_FN(bind_qat) | ^~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c: In function 'IMPLEMENT_DYNAMIC_BIND_FN': e_qat.c:1424:1: error: expected declaration specifiers before 'IMPLEMENT_DYNAMIC_CHECK_FN' 1424 | IMPLEMENT_DYNAMIC_CHECK_FN() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:1423:1: error: type of 'bind_qat' defaults to 'int' [-Wimplicit-int] 1423 | IMPLEMENT_DYNAMIC_BIND_FN(bind_qat) | ^~~~~~~~~~~~~~~~~~~~~~~~~ e_qat.c:1505: warning: control reaches end of non-void function [-Wreturn-type] make[1]: *** [Makefile:1446: e_qat.lo] Error 1 make[1]: Entering directory '/builddir/build/BUILD/QAT_Engine-1.6.0' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c -o qat_hw_ec.lo qat_hw_ec.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_ec.c -fPIC -DPIC -o .libs/qat_hw_ec.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/include/qat -DQAT_HW_INTREE -DUSE_USDM_MEM -DQAT_OPENSSL_3 -DOPENSSL_SUPPRESS_DEPRECATED -DQAT_HW -DENABLE_QAT_HW_RSA -DENABLE_QAT_HW_ECDSA -DENABLE_QAT_HW_ECDH -DENABLE_QAT_HW_ECX -DENABLE_QAT_HW_PRF -DENABLE_QAT_HW_CIPHERS -DENABLE_QAT_HW_CCM -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fno-delete-null-pointer-checks -fwrapv -fstack-protector-strong -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -c qat_hw_ec.c -o qat_hw_ec.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/QAT_Engine-1.6.0' make: *** [Makefile:1026: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.CXEnQy (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CXEnQy (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a7cf2735f55e4718b4b01d91451c2f97 -D /var/lib/mock/inferit-10_0-bootstrap-build-76960-151394/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/qatengine.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a7cf2735f55e4718b4b01d91451c2f97 -D /var/lib/mock/inferit-10_0-bootstrap-build-76960-151394/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h96wh8z2:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/qatengine.spec