In file included from /usr/include/string.h:494, from /root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers/string.h:3, from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:71: In function 'strncpy', inlined from '__itt_get_env_var' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:843:17, inlined from '__itt_get_groups' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:982:29: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:59: /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c: In function '__itt_get_groups': /root/firefox-gcc-last/js/src/vtune/ittnotify_config.h:333:35: note: length computed here 333 | #define __itt_fstrnlen(s, l) strlen(s) | ^~~~~~~~~ /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:838:26: note: in expansion of macro '__itt_fstrnlen' 838 | size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from /root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers/string.h:3, from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:71: In function 'strncpy', inlined from '__itt_get_env_var' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:843:17, inlined from '__itt_get_groups' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:1017:17: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:59: /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c: In function '__itt_get_groups': /root/firefox-gcc-last/js/src/vtune/ittnotify_config.h:333:35: note: length computed here 333 | #define __itt_fstrnlen(s, l) strlen(s) | ^~~~~~~~~ /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:838:26: note: in expansion of macro '__itt_fstrnlen' 838 | size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE); | ^~~~~~~~~~~~~~
Bug 1514782 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
``` In file included from /usr/include/string.h:494, from /root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers/string.h:3, from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:71: In function 'strncpy', inlined from '__itt_get_env_var' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:843:17, inlined from '__itt_get_groups' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:982:29: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:59: /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c: In function '__itt_get_groups': /root/firefox-gcc-last/js/src/vtune/ittnotify_config.h:333:35: note: length computed here 333 | #define __itt_fstrnlen(s, l) strlen(s) | ^~~~~~~~~ /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:838:26: note: in expansion of macro '__itt_fstrnlen' 838 | size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from /root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers/string.h:3, from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:71: In function 'strncpy', inlined from '__itt_get_env_var' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:843:17, inlined from '__itt_get_groups' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:1017:17: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:59: /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c: In function '__itt_get_groups': /root/firefox-gcc-last/js/src/vtune/ittnotify_config.h:333:35: note: length computed here 333 | #define __itt_fstrnlen(s, l) strlen(s) | ^~~~~~~~~ /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:838:26: note: in expansion of macro '__itt_fstrnlen' 838 | size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE); | ^~~~~~~~~~~~~~ ```
``` In file included from /usr/include/string.h:494, from /root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers/string.h:3, from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:71: In function 'strncpy', inlined from '__itt_get_env_var' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:843:17, inlined from '__itt_get_groups' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:982:29: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:59: /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c: In function '__itt_get_groups': /root/firefox-gcc-last/js/src/vtune/ittnotify_config.h:333:35: note: length computed here 333 | #define __itt_fstrnlen(s, l) strlen(s) | ^~~~~~~~~ /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:838:26: note: in expansion of macro '__itt_fstrnlen' 838 | size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE); | ^~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from /root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/system_wrappers/string.h:3, from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:71: In function 'strncpy', inlined from '__itt_get_env_var' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:843:17, inlined from '__itt_get_groups' at /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:1017:17: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: '__builtin_strncpy' specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:59: /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c: In function '__itt_get_groups': /root/firefox-gcc-last/js/src/vtune/ittnotify_config.h:333:35: note: length computed here 333 | #define __itt_fstrnlen(s, l) strlen(s) | ^~~~~~~~~ /root/firefox-gcc-last/js/src/vtune/ittnotify_static.c:838:26: note: in expansion of macro '__itt_fstrnlen' 838 | size_t len = __itt_fstrnlen(env, MAX_ENV_VALUE_SIZE); | ^~~~~~~~~~~~~~ ```