I got the issue at last step for mtcp build. When I run make for mtcp after configure successfully, I got the error "
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘builtin_strncpy’ output may be truncated copying 1023 bytes from a string of length 1023 [-Werror=stringop-truncation]
106 | return _builtinstrncpy_chk (dest, src, len, bos (__dest));
"
I tried to update my gcc to gcc 10.3.0, still the same error, please anyone saw the same issue before?
My environment is:
os: Ubuntu 20.04.4 LTS
kernel : 5.15.0-43-generic
compiler: gcc 10.3.0
dpdk : by default 18.05
Hi experts,
I got the issue at last step for mtcp build. When I run make for mtcp after configure successfully, I got the error " /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘builtin_strncpy’ output may be truncated copying 1023 bytes from a string of length 1023 [-Werror=stringop-truncation] 106 | return _builtinstrncpy_chk (dest, src, len, bos (__dest)); "
I tried to update my gcc to gcc 10.3.0, still the same error, please anyone saw the same issue before?
My environment is: os: Ubuntu 20.04.4 LTS kernel : 5.15.0-43-generic compiler: gcc 10.3.0 dpdk : by default 18.05