You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 __builtin___strncpy_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
The text was updated successfully, but these errors were encountered:
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 __builtin___strncpy_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
The text was updated successfully, but these errors were encountered: