>>> ocf-linux 20171122 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-2/output-1/build/.ocf-linux-20171122.tar.gz.hlUsp9/output' 'http://downloads.sourceforge.net/project/ocf-linux/ocf-linux/20171122/ocf-linux-20171122.tar.gz' URL transformed to HTTPS due to an HSTS policy --2023-09-03 22:22:49-- https://downloads.sourceforge.net/project/ocf-linux/ocf-linux/20171122/ocf-linux-20171122.tar.gz Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://master.dl.sourceforge.net/project/ocf-linux/ocf-linux/20171122/ocf-linux-20171122.tar.gz?viasf=1 [following] --2023-09-03 22:22:50-- https://master.dl.sourceforge.net/project/ocf-linux/ocf-linux/20171122/ocf-linux-20171122.tar.gz?viasf=1 Resolving master.dl.sourceforge.net (master.dl.sourceforge.net)... 216.105.38.12 Connecting to master.dl.sourceforge.net (master.dl.sourceforge.net)|216.105.38.12|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 983397 (960K) [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-2/output-1/build/.ocf-linux-20171122.tar.gz.hlUsp9/output' 0K .......... .......... .......... .......... .......... 5% 877K 1s 50K .......... .......... .......... .......... .......... 10% 1.71M 1s 100K .......... .......... .......... .......... .......... 15% 31.8M 0s 150K .......... .......... .......... .......... .......... 20% 39.2M 0s 200K .......... .......... .......... .......... .......... 26% 1.75M 0s 250K .......... .......... .......... .......... .......... 31% 28.9M 0s 300K .......... .......... .......... .......... .......... 36% 35.5M 0s 350K .......... .......... .......... .......... .......... 41% 38.7M 0s 400K .......... .......... .......... .......... .......... 46% 2.02M 0s 450K .......... .......... .......... .......... .......... 52% 26.9M 0s 500K .......... .......... .......... .......... .......... 57% 36.8M 0s 550K .......... .......... .......... .......... .......... 62% 29.4M 0s 600K .......... .......... .......... .......... .......... 67% 30.6M 0s 650K .......... .......... .......... .......... .......... 72% 31.7M 0s 700K .......... .......... .......... .......... .......... 78% 39.2M 0s 750K .......... .......... .......... .......... .......... 83% 38.7M 0s 800K .......... .......... .......... .......... .......... 88% 42.1M 0s 850K .......... .......... .......... .......... .......... 93% 2.79M 0s 900K .......... .......... .......... .......... .......... 98% 39.9M 0s 950K .......... 100% 39.5M=0.2s 2023-09-03 22:22:50 (5.35 MB/s) - '/home/buildroot/autobuild/instance-2/output-1/build/.ocf-linux-20171122.tar.gz.hlUsp9/output' saved [983397/983397] ocf-linux-20171122.tar.gz: OK (sha256: 3d7984754d58ced5695889744caf1e18a53f5d2e35ed40cc04d3595e59b7431f) >>> ocf-linux 20171122 Extracting gzip -d -c /home/buildroot/autobuild/instance-2/dl/ocf-linux/ocf-linux-20171122.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122 -xf - >>> ocf-linux 20171122 Patching >>> ocf-linux 20171122 Configuring >>> ocf-linux 20171122 Building >>> ocf-linux 20171122 Building kernel module(s) PATH="/home/buildroot/autobuild/instance-2/output-1/host/bin:/home/buildroot/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-2/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-2/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-2/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/instance-2/output-1/images KCFLAGS=-Wno-attribute-alias /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-2/output-1/build/linux-5.10.162-cip24 HOSTCC="/usr/bin/gcc -O2 -isystem /home/buildroot/autobuild/instance-2/output-1/host/include -L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib" ARCH=powerpc INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-2/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-2/output-1/host/bin/powerpc64-buildroot-linux-gnu-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/home/buildroot/autobuild/instance-2/output-1/host/sbin/depmod CONFIG_OCF_OCF=m CONFIG_OCF_CRYPTOSOFT=m CONFIG_OCF_BENCH=m CONFIG_OCF_OCFNULL=m PWD=/home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf M=/home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf modules make[1]: Entering directory '/home/buildroot/autobuild/instance-2/output-1/build/linux-5.10.162-cip24' CC [M] /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/crypto.o CC [M] /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.o CC [M] /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.o CC [M] /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull/ocfnull.o In file included from /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/crypto.c:81: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:278:25: error: field ‘acc’ has incomplete type 278 | struct timespec acc; /* total accumulated time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:279:25: error: field ‘min’ has incomplete type 279 | struct timespec min; /* min time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:280:25: error: field ‘max’ has incomplete type 280 | struct timespec max; /* max time */ | ^~~ make[2]: *** [scripts/Makefile.build:286: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/crypto.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull/ocfnull.c:49: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull/../cryptodev.h:278:25: error: field ‘acc’ has incomplete type 278 | struct timespec acc; /* total accumulated time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull/../cryptodev.h:279:25: error: field ‘min’ has incomplete type 279 | struct timespec min; /* min time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull/../cryptodev.h:280:25: error: field ‘max’ has incomplete type 280 | struct timespec max; /* max time */ | ^~~ make[3]: *** [scripts/Makefile.build:286: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull/ocfnull.o] Error 1 make[2]: *** [scripts/Makefile.build:503: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/ocfnull] Error 2 In file included from /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:51: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:278:25: error: field ‘acc’ has incomplete type 278 | struct timespec acc; /* total accumulated time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:279:25: error: field ‘min’ has incomplete type 279 | struct timespec min; /* min time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:280:25: error: field ‘max’ has incomplete type 280 | struct timespec max; /* max time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c: In function ‘skb_copy_bits_back’: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:157:55: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 157 | if (offset < skb_shinfo(skb)->frags[i].size) { | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:159:67: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘page_offset’; did you mean ‘bv_offset’? 159 | skb_shinfo(skb)->frags[i].page_offset, | ^~~~~~~~~~~ | bv_offset In file included from ./include/linux/kernel.h:14, from ./include/linux/list.h:9, from ./include/linux/module.h:12, from /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:41: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:81: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^ ./include/linux/minmax.h:20:28: note: in definition of macro ‘__typecheck’ 20 | (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) | ^ ./include/linux/minmax.h:36:31: note: in expansion of macro ‘__safe_cmp’ 36 | __builtin_choose_expr(__safe_cmp(x, y), \ | ^~~~~~~~~~ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ In file included from ./include/linux/list.h:8: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:81: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^ ./include/linux/const.h:12:55: note: in definition of macro ‘__is_constexpr’ 12 | (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8))) | ^ ./include/linux/minmax.h:26:39: note: in expansion of macro ‘__no_side_effects’ 26 | (__typecheck(x, y) && __no_side_effects(x, y)) | ^~~~~~~~~~~~~~~~~ ./include/linux/minmax.h:36:31: note: in expansion of macro ‘__safe_cmp’ 36 | __builtin_choose_expr(__safe_cmp(x, y), \ | ^~~~~~~~~~ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:81: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^ ./include/linux/minmax.h:28:27: note: in definition of macro ‘__cmp’ 28 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) | ^ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:81: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^ ./include/linux/minmax.h:28:40: note: in definition of macro ‘__cmp’ 28 | #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) | ^ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:81: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^ ./include/linux/minmax.h:31:24: note: in definition of macro ‘__cmp_once’ 31 | typeof(x) unique_x = (x); \ | ^ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:81: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^ ./include/linux/minmax.h:31:39: note: in definition of macro ‘__cmp_once’ 31 | typeof(x) unique_x = (x); \ | ^ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ ./include/linux/minmax.h:36:9: error: first argument to ‘__builtin_choose_expr’ not a constant 36 | __builtin_choose_expr(__safe_cmp(x, y), \ | ^~~~~~~~~~~~~~~~~~~~~ ./include/linux/minmax.h:104:33: note: in expansion of macro ‘__careful_cmp’ 104 | #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) | ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:160:45: note: in expansion of macro ‘min_t’ 160 | cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); | ^~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:161:57: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 161 | len -= skb_shinfo(skb)->frags[i].size; | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:162:56: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 162 | cp += skb_shinfo(skb)->frags[i].size; | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.c:164:52: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 164 | offset -= skb_shinfo(skb)->frags[i].size; | ^ In file included from /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:60: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:278:25: error: field ‘acc’ has incomplete type 278 | struct timespec acc; /* total accumulated time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:279:25: error: field ‘min’ has incomplete type 279 | struct timespec min; /* min time */ | ^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/./cryptodev.h:280:25: error: field ‘max’ has incomplete type 280 | struct timespec max; /* max time */ | ^~~ make[2]: *** [scripts/Makefile.build:286: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/criov.o] Error 1 /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c: In function ‘swcr_newsession’: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:437:41: error: implicit declaration of function ‘crypto_ablkcipher_tfm’; did you mean ‘crypto_cipher_tfm’? [-Werror=implicit-function-declaration] 437 | crypto_ablkcipher_tfm(crypto_alloc_ablkcipher(algo, 0, 0)); | ^~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_tfm /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:437:63: error: implicit declaration of function ‘crypto_alloc_ablkcipher’; did you mean ‘crypto_alloc_cipher’? [-Werror=implicit-function-declaration] 437 | crypto_ablkcipher_tfm(crypto_alloc_ablkcipher(algo, 0, 0)); | ^~~~~~~~~~~~~~~~~~~~~~~ | crypto_alloc_cipher /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:436:62: warning: pointer/integer type mismatch in conditional expression 436 | (*swd)->sw_tfm = swcr_no_ablk ? NULL : | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:442:50: error: implicit declaration of function ‘crypto_blkcipher_tfm’; did you mean ‘crypto_cipher_tfm’? [-Werror=implicit-function-declaration] 442 | (*swd)->sw_tfm = crypto_blkcipher_tfm( | ^~~~~~~~~~~~~~~~~~~~ | crypto_cipher_tfm /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:443:49: error: implicit declaration of function ‘crypto_alloc_blkcipher’; did you mean ‘crypto_alloc_cipher’? [-Werror=implicit-function-declaration] 443 | crypto_alloc_blkcipher(algo, 0, CRYPTO_ALG_ASYNC)); | ^~~~~~~~~~~~~~~~~~~~~~ | crypto_alloc_cipher /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:442:48: warning: assignment to ‘struct crypto_tfm *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 442 | (*swd)->sw_tfm = crypto_blkcipher_tfm( | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:467:33: error: implicit declaration of function ‘crypto_ablkcipher_set_flags’; did you mean ‘crypto_cipher_set_flags’? [-Werror=implicit-function-declaration] 467 | crypto_ablkcipher_set_flags( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_set_flags /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:468:49: error: implicit declaration of function ‘__crypto_ablkcipher_cast’; did you mean ‘__crypto_cipher_cast’? [-Werror=implicit-function-declaration] 468 | __crypto_ablkcipher_cast((*swd)->sw_tfm), | ^~~~~~~~~~~~~~~~~~~~~~~~ | __crypto_cipher_cast /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:469:57: error: ‘CRYPTO_TFM_REQ_WEAK_KEY’ undeclared (first use in this function); did you mean ‘CRYPTO_TFM_NEED_KEY’? 469 | CRYPTO_TFM_REQ_WEAK_KEY); | ^~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_TFM_NEED_KEY /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:469:57: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:470:41: error: implicit declaration of function ‘crypto_ablkcipher_setkey’; did you mean ‘crypto_cipher_setkey’? [-Werror=implicit-function-declaration] 470 | error = crypto_ablkcipher_setkey( | ^~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_setkey /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:475:33: error: implicit declaration of function ‘crypto_blkcipher_set_flags’; did you mean ‘crypto_cipher_set_flags’? [-Werror=implicit-function-declaration] 475 | crypto_blkcipher_set_flags( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_set_flags /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:476:49: error: implicit declaration of function ‘crypto_blkcipher_cast’; did you mean ‘crypto_cipher_tfm’? [-Werror=implicit-function-declaration] 476 | crypto_blkcipher_cast((*swd)->sw_tfm), | ^~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_tfm /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:478:41: error: implicit declaration of function ‘crypto_blkcipher_setkey’; did you mean ‘crypto_cipher_setkey’? [-Werror=implicit-function-declaration] 478 | error = crypto_blkcipher_setkey( | ^~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_setkey /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:500:50: error: implicit declaration of function ‘crypto_hash_tfm’; did you mean ‘crypto_shash_tfm’? [-Werror=implicit-function-declaration] 500 | (*swd)->sw_tfm = crypto_hash_tfm( | ^~~~~~~~~~~~~~~ | crypto_shash_tfm /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:501:49: error: implicit declaration of function ‘crypto_alloc_hash’; did you mean ‘crypto_alloc_shash’? [-Werror=implicit-function-declaration] 501 | crypto_alloc_hash(algo, 0, CRYPTO_ALG_ASYNC)); | ^~~~~~~~~~~~~~~~~ | crypto_alloc_shash /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:500:48: warning: assignment to ‘struct crypto_tfm *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 500 | (*swd)->sw_tfm = crypto_hash_tfm( | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:526:58: error: implicit declaration of function ‘crypto_hash_digestsize’; did you mean ‘crypto_shash_digestsize’? [-Werror=implicit-function-declaration] 526 | (*swd)->u.hmac.sw_mlen = crypto_hash_digestsize( | ^~~~~~~~~~~~~~~~~~~~~~ | crypto_shash_digestsize /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:527:49: error: implicit declaration of function ‘crypto_hash_cast’; did you mean ‘crypto_shash_init’? [-Werror=implicit-function-declaration] 527 | crypto_hash_cast((*swd)->sw_tfm)); | ^~~~~~~~~~~~~~~~ | crypto_shash_init /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c: In function ‘swcr_freesession’: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:588:33: error: implicit declaration of function ‘crypto_free_ablkcipher’; did you mean ‘crypto_free_cipher’? [-Werror=implicit-function-declaration] 588 | crypto_free_ablkcipher(__crypto_ablkcipher_cast(swd->sw_tfm)); | ^~~~~~~~~~~~~~~~~~~~~~ | crypto_free_cipher /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:592:33: error: implicit declaration of function ‘crypto_free_blkcipher’; did you mean ‘crypto_free_cipher’? [-Werror=implicit-function-declaration] 592 | crypto_free_blkcipher(crypto_blkcipher_cast(swd->sw_tfm)); | ^~~~~~~~~~~~~~~~~~~~~ | crypto_free_cipher /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:596:33: error: implicit declaration of function ‘crypto_free_hash’; did you mean ‘crypto_free_shash’? [-Werror=implicit-function-declaration] 596 | crypto_free_hash(crypto_hash_cast(swd->sw_tfm)); | ^~~~~~~~~~~~~~~~ | crypto_free_shash /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:600:99: error: implicit declaration of function ‘crypto_comp_cast’; did you mean ‘crypto_comp_name’? [-Werror=implicit-function-declaration] 600 | execute_later((void (*)(void *))crypto_free_comp, (void *)crypto_comp_cast(swd->sw_tfm)); | ^~~~~~~~~~~~~~~~ | crypto_comp_name /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:600:91: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 600 | execute_later((void (*)(void *))crypto_free_comp, (void *)crypto_comp_cast(swd->sw_tfm)); | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:602:58: warning: passing argument 1 of ‘crypto_free_comp’ makes pointer from integer without a cast [-Wint-conversion] 602 | crypto_free_comp(crypto_comp_cast(swd->sw_tfm)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:47: ./include/linux/crypto.h:928:57: note: expected ‘struct crypto_comp *’ but argument is of type ‘int’ 928 | static inline void crypto_free_comp(struct crypto_comp *tfm) | ~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c: In function ‘swcr_process_req_complete’: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:647:17: error: implicit declaration of function ‘ablkcipher_request_free’; did you mean ‘ahash_request_free’? [-Werror=implicit-function-declaration] 647 | ablkcipher_request_free(req->crypto_req); | ^~~~~~~~~~~~~~~~~~~~~~~ | ahash_request_free /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c: In function ‘swcr_process_req’: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:775:61: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 775 | if (skip < skb_shinfo(skb)->frags[i].size) { | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:776:64: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 776 | len = skb_shinfo(skb)->frags[i].size - skip; | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:782:67: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘page_offset’; did you mean ‘bv_offset’? 782 | skb_shinfo(skb)->frags[i].page_offset + skip); | ^~~~~~~~~~~ | bv_offset /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:787:66: error: ‘skb_frag_t’ {aka ‘struct bio_vec’} has no member named ‘size’ 787 | skip -= skb_shinfo(skb)->frags[i].size; | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:873:25: error: implicit declaration of function ‘crypto_ablkcipher_ivsize’ [-Werror=implicit-function-declaration] 873 | crypto_ablkcipher_ivsize(__crypto_ablkcipher_cast(sw->sw_tfm)); | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:875:30: error: implicit declaration of function ‘crypto_ablkcipher_blocksize’; did you mean ‘crypto_cipher_blocksize’? [-Werror=implicit-function-declaration] 875 | if (sg_len < crypto_ablkcipher_blocksize( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_blocksize /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:890:35: error: implicit declaration of function ‘ablkcipher_request_alloc’; did you mean ‘ahash_request_alloc’? [-Werror=implicit-function-declaration] 890 | req->crypto_req = ablkcipher_request_alloc( | ^~~~~~~~~~~~~~~~~~~~~~~~ | ahash_request_alloc /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:890:33: warning: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 890 | req->crypto_req = ablkcipher_request_alloc( | ^ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:899:17: error: implicit declaration of function ‘ablkcipher_request_set_callback’; did you mean ‘ahash_request_set_callback’? [-Werror=implicit-function-declaration] 899 | ablkcipher_request_set_callback(req->crypto_req, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ahash_request_set_callback /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:914:41: error: ‘CRYPTO_TFM_REQ_WEAK_KEY’ undeclared (first use in this function); did you mean ‘CRYPTO_TFM_NEED_KEY’? 914 | CRYPTO_TFM_REQ_WEAK_KEY); | ^~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_TFM_NEED_KEY /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:938:25: error: implicit declaration of function ‘ablkcipher_request_set_crypt’; did you mean ‘ahash_request_set_crypt’? [-Werror=implicit-function-declaration] 938 | ablkcipher_request_set_crypt(req->crypto_req, req->sg, req->sg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ahash_request_set_crypt /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:940:31: error: implicit declaration of function ‘crypto_ablkcipher_encrypt’; did you mean ‘crypto_stats_skcipher_encrypt’? [-Werror=implicit-function-declaration] 940 | ret = crypto_ablkcipher_encrypt(req->crypto_req); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_stats_skcipher_encrypt /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:951:31: error: implicit declaration of function ‘crypto_ablkcipher_decrypt’; did you mean ‘crypto_stats_skcipher_decrypt’? [-Werror=implicit-function-declaration] 951 | ret = crypto_ablkcipher_decrypt(req->crypto_req); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_stats_skcipher_decrypt /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:970:39: error: storage size of ‘desc’ isn’t known 970 | struct blkcipher_desc desc; | ^~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:971:30: error: implicit declaration of function ‘crypto_blkcipher_ivsize’ [-Werror=implicit-function-declaration] 971 | int ivsize = crypto_blkcipher_ivsize(crypto_blkcipher_cast(sw->sw_tfm)); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:973:30: error: implicit declaration of function ‘crypto_blkcipher_blocksize’; did you mean ‘crypto_cipher_blocksize’? [-Werror=implicit-function-declaration] 973 | if (sg_len < crypto_blkcipher_blocksize( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_blocksize /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1029:25: error: implicit declaration of function ‘crypto_blkcipher_encrypt_iv’; did you mean ‘crypto_cipher_encrypt_one’? [-Werror=implicit-function-declaration] 1029 | crypto_blkcipher_encrypt_iv(&desc, req->sg, req->sg, sg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_encrypt_one /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1040:25: error: implicit declaration of function ‘crypto_blkcipher_decrypt_iv’; did you mean ‘crypto_cipher_decrypt_one’? [-Werror=implicit-function-declaration] 1040 | crypto_blkcipher_decrypt_iv(&desc, req->sg, req->sg, sg_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | crypto_cipher_decrypt_one /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:970:39: warning: unused variable ‘desc’ [-Wunused-variable] 970 | struct blkcipher_desc desc; | ^~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1048:34: error: storage size of ‘desc’ isn’t known 1048 | struct hash_desc desc; | ^~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1069:25: error: implicit declaration of function ‘crypto_hash_setkey’; did you mean ‘crypto_shash_setkey’? [-Werror=implicit-function-declaration] 1069 | crypto_hash_setkey(desc.tfm, sw->u.hmac.sw_key, | ^~~~~~~~~~~~~~~~~~ | crypto_shash_setkey /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1071:25: error: implicit declaration of function ‘crypto_hash_digest’; did you mean ‘crypto_shash_digest’? [-Werror=implicit-function-declaration] 1071 | crypto_hash_digest(&desc, req->sg, sg_len, result); | ^~~~~~~~~~~~~~~~~~ | crypto_shash_digest /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1048:34: warning: unused variable ‘desc’ [-Wunused-variable] 1048 | struct hash_desc desc; | ^~~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1111:52: warning: passing argument 1 of ‘crypto_comp_compress’ makes pointer from integer without a cast [-Wint-conversion] 1111 | ret = crypto_comp_compress(crypto_comp_cast(sw->sw_tfm), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int ./include/linux/crypto.h:947:46: note: expected ‘struct crypto_comp *’ but argument is of type ‘int’ 947 | int crypto_comp_compress(struct crypto_comp *tfm, | ~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1120:54: warning: passing argument 1 of ‘crypto_comp_decompress’ makes pointer from integer without a cast [-Wint-conversion] 1120 | ret = crypto_comp_decompress(crypto_comp_cast(sw->sw_tfm), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int ./include/linux/crypto.h:951:48: note: expected ‘struct crypto_comp *’ but argument is of type ‘int’ 951 | int crypto_comp_decompress(struct crypto_comp *tfm, | ~~~~~~~~~~~~~~~~~~~~^~~ /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c: In function ‘cryptosoft_init’: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1284:33: error: implicit declaration of function ‘crypto_has_hash’; did you mean ‘crypto_has_ahash’? [-Werror=implicit-function-declaration] 1284 | found = crypto_has_hash(algo, 0, swcr_no_ahash?CRYPTO_ALG_ASYNC:0); | ^~~~~~~~~~~~~~~ | crypto_has_ahash /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1293:33: error: implicit declaration of function ‘crypto_has_blkcipher’; did you mean ‘crypto_has_cipher’? [-Werror=implicit-function-declaration] 1293 | found = crypto_has_blkcipher(algo, 0, CRYPTO_ALG_ASYNC); | ^~~~~~~~~~~~~~~~~~~~ | crypto_has_cipher /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.c:1295:41: error: implicit declaration of function ‘crypto_has_ablkcipher’; did you mean ‘crypto_has_cipher’? [-Werror=implicit-function-declaration] 1295 | found = crypto_has_ablkcipher(algo, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~ | crypto_has_cipher cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:286: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf/cryptosoft.o] Error 1 make[1]: *** [Makefile:1837: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/ocf] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-2/output-1/build/linux-5.10.162-cip24' make: *** [package/pkg-generic.mk:294: /home/buildroot/autobuild/instance-2/output-1/build/ocf-linux-20171122/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-2/buildroot'