* |FAILURE| pw135281 [PATCH] common/qat: make qat common code independent from services
[not found] <20231218134212.84448-1-arkadiuszx.kusztal@intel.com>
` (2 preceding siblings ...)
2023-12-18 14:54 ` |WARNING| " checkpatch
@ 2023-12-18 15:44 ` 0-day Robot
3 siblings, 0 replies; 4+ messages in thread
From: 0-day Robot @ 2023-12-18 15:44 UTC (permalink / raw)
To: test-report; +Cc: arkadiuszx.kusztal, robot
From: robot@bytheb.org
Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/135281/
_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/7249961352
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-20.04-gcc-stdatomic" failed at step Build and test
"ubuntu-20.04-gcc-static-i386" failed at step Build and test
"ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test
"ubuntu-20.04-gcc-ppc64le" failed at step Build and test
"ubuntu-20.04-gcc-riscv64" failed at step Build and test
----------------------End summary of failed steps--------------------
-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
[805/2844] Linking static target drivers/librte_common_mlx5.a.
[806/2844] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -Ilib/security -I../lib/security -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DBUILD_QAT_SYM -DBUILD_QAT_ASYM -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -c ../drivers/common/qat/qat_device.c
In file included from /usr/include/string.h:495,
from ../lib/eal/include/rte_string_fns.h:19,
from ../drivers/common/qat/qat_device.c:5:
In function ‘strncpy’,
inlined from ‘qat_dev_parse_cmd’ at ../drivers/common/qat/qat_device.c:93:2,
inlined from ‘qat_pci_device_allocate’ at ../drivers/common/qat/qat_device.c:312:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_device.c: In function ‘qat_pci_device_allocate’:
../drivers/common/qat/qat_device.c:93:2: note: length computed here
93 | strncpy(args, str, strlen(str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[807/2844] Generating rte_common_nfp.sym_chk with a meson_exe.py custom command.
[808/2844] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_qp.c.o'.
[809/2844] Generating rte_common_mlx5.sym_chk with a meson_exe.py custom command.
[810/2844] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command.
[811/2844] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
[710/3136] Linking target drivers/librte_bus_dpaa.so.24.1.
[711/3136] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o
ccache gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -c ../drivers/common/qat/qat_device.c
In file included from /usr/include/string.h:495,
from ../lib/eal/include/rte_string_fns.h:19,
from ../drivers/common/qat/qat_device.c:5:
In function ‘strncpy’,
inlined from ‘qat_dev_parse_cmd’ at ../drivers/common/qat/qat_device.c:93:2,
inlined from ‘qat_pci_device_allocate’ at ../drivers/common/qat/qat_device.c:312:3:
/usr/include/i386-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_device.c: In function ‘qat_pci_device_allocate’:
../drivers/common/qat/qat_device.c:93:2: note: length computed here
93 | strncpy(args, str, strlen(str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[712/3136] Generating rte_bus_fslmc.sym_chk with a meson_exe.py custom command.
[713/3136] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[714/3136] Generating symbol file 'drivers/a715181@@rte_bus_dpaa@sha/librte_bus_dpaa.so.24.1.symbols'.
[715/3136] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[716/3136] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/compress_qat_dev_qat_comp_pmd_gen1.c.o'.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-static-i386" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
[799/4088] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen1.c.o'.
[800/4088] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o
ccache aarch64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=armv8-a+crc -moutline-atomics -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -c ../drivers/common/qat/qat_device.c
In file included from /usr/aarch64-linux-gnu/include/string.h:495,
from ../lib/eal/include/rte_string_fns.h:19,
from ../drivers/common/qat/qat_device.c:5:
In function ‘strncpy’,
inlined from ‘qat_dev_parse_cmd’ at ../drivers/common/qat/qat_device.c:93:2,
inlined from ‘qat_pci_device_allocate’ at ../drivers/common/qat/qat_device.c:312:3:
/usr/aarch64-linux-gnu/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_device.c: In function ‘qat_pci_device_allocate’:
../drivers/common/qat/qat_device.c:93:2: note: length computed here
93 | strncpy(args, str, strlen(str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[801/4088] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[802/4088] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen2.c.o'.
[803/4088] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/compress_qat_dev_qat_comp_pmd_gen1.c.o'.
[804/4088] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[805/4088] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
[799/3386] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen2.c.o'.
[800/3386] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o
ccache powerpc64le-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/ppc/include -I../lib/eal/ppc/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -mcpu=power8 -mtune=power8 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -c ../drivers/common/qat/qat_device.c
In file included from /usr/powerpc64le-linux-gnu/include/string.h:495,
from ../lib/eal/include/rte_string_fns.h:19,
from ../drivers/common/qat/qat_device.c:5:
In function ‘strncpy’,
inlined from ‘qat_dev_parse_cmd’ at ../drivers/common/qat/qat_device.c:93:2,
inlined from ‘qat_pci_device_allocate’ at ../drivers/common/qat/qat_device.c:312:3:
/usr/powerpc64le-linux-gnu/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_device.c: In function ‘qat_pci_device_allocate’:
../drivers/common/qat/qat_device.c:93:2: note: length computed here
93 | strncpy(args, str, strlen(str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[801/3386] Linking target drivers/librte_common_nfp.so.24.1.
[802/3386] Generating symbol file 'drivers/a715181@@rte_bus_fslmc@sha/librte_bus_fslmc.so.24.1.symbols'.
[803/3386] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[804/3386] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[805/3386] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-ppc64le" at step Build and test
####################################################################################
####################################################################################
#### [Begin job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
[792/3357] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen3.c.o'.
[793/3357] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o'.
FAILED: drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o
ccache riscv64-linux-gnu-gcc -Idrivers/a715181@@tmp_rte_common_qat@sta -Idrivers -I../drivers -Idrivers/common/qat -I../drivers/common/qat -I../drivers/common/qat/qat_adf -I../drivers/common/qat/../../crypto/qat -I../drivers/common/qat/../../compress/qat -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/riscv/include -I../lib/eal/riscv/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/pci -I../lib/pci -Ilib/cryptodev -I../lib/cryptodev -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/rcu -I../lib/rcu -Ilib/net -I../lib/net -Ilib/compressdev -I../lib/compressdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=rv64gc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.common.qat -MD -MQ 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -MF 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o.d' -o 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_qat_device.c.o' -c ../drivers/common/qat/qat_device.c
In file included from /usr/riscv64-linux-gnu/include/string.h:495,
from ../lib/eal/include/rte_string_fns.h:19,
from ../drivers/common/qat/qat_device.c:5:
In function ‘strncpy’,
inlined from ‘qat_dev_parse_cmd’ at ../drivers/common/qat/qat_device.c:93:2,
inlined from ‘qat_pci_device_allocate’ at ../drivers/common/qat/qat_device.c:312:3:
/usr/riscv64-linux-gnu/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/qat/qat_device.c: In function ‘qat_pci_device_allocate’:
../drivers/common/qat/qat_device.c:93:2: note: length computed here
93 | strncpy(args, str, strlen(str));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[794/3357] Generating rte_bus_dpaa.sym_chk with a meson_exe.py custom command.
[795/3357] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen2.c.o'.
[796/3357] Compiling C object 'drivers/a715181@@tmp_rte_common_qat@sta/common_qat_dev_qat_dev_gen4.c.o'.
[797/3357] Generating rte_bus_fslmc.sym_chk with a meson_exe.py custom command.
[798/3357] Generating rte_common_cnxk.pmd.c with a custom command.
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-20.04-gcc-riscv64" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread