-
Notifications
You must be signed in to change notification settings - Fork 461
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels