gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I../pli_incs -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection-c -o cver-v_dbg.o `test -f 'v_dbg.c' || echo './'`v_dbg.c
v_dbg.c: In function ‘__escape_to_shell’:-c -o cver-v_dbg2.o `test -f 'v_dbg2.c' || echo './'`v_dbg2.c
v_dbg.c:1524:32: error: implicit declaration of function ‘wait’ [-Werror=implicit-function-declaration]
1524 | if (pid != -1) { while ((rc = wait(&status)) != pid && rc != -1) ; }
| ^~~~
v_dbg.c: In function ‘__exec_history_list’:
v_dbg.c:1604:6: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
1604 | fgets(s1, RECLEN, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~
v_sdf.c: In function ‘chkset_interconn_dels’:
v_sdf.c:4790:48: warning: ‘%s’ directive writing up to 4096 bytes into a region of size 4066 [-Wformat-overflow=]
4790 | sprintf(s1, "(INTERCONNECT destination port %s in %s", dport,
| ^~ ~~~~~
In function ‘sprintf’,
inlined from ‘chkset_interconn_dels’ at v_sdf.c:4790:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 36 or more bytes (assuming 4132) into a destination of size 4097
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
v_sdf.c: In function ‘chkset_interconn_dels’:
v_sdf.c:4785:66: warning: ‘%s’ directive writing up to 4096 bytes into a region of size 4039 [-Wformat-overflow=]
4785 | "(INTERCONNECT (but invalid source port %s) destination port %s in %s",
| ^~
4786 | portsrc, dport, dmdp->msym->synam);
| ~~~~~
In function ‘sprintf’,
inlined from ‘chkset_interconn_dels’ at v_sdf.c:4784:4: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 63 or more bytes (assuming 4159) into a destination of size 4097
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
v_sdf.c: In function ‘set_mipd_dels’:
v_sdf.c:4339:21: warning: ‘%s’ directive writing up to 4096 bytes into a region of size 4091 [-Wformat-overflow=]
4339 | sprintf(s1, "(PORT %s in %s", port, mdp->msym->synam);
| ^~ ~~~~
In function ‘sprintf’,
inlined from ‘set_mipd_dels’ at v_sdf.c:4339:2: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 4107) into a destination of size 4097
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
v_sdf.c: In function ‘rd_iopath’:
v_sdf.c:2571:52: warning: ‘%s’ directive writing up to 4096 bytes into a region of size 4088 [-Wformat-overflow=]
2540 | if ((plhd = bld_match_spcpth(ctmdp, portsrc, si1, si2, eval, portdst,
| ~~~~~~~
......
2571 | else if (eval == E_NEGEDGE) sprintf(s3, "(negedge %s%s)", psrcnam, s1);
| ^~
In function ‘sprintf’,
inlined from ‘msg_sdfpath_tostr’ at v_sdf.c:2571:30,
inlined from ‘bld_match_spcpth’ at v_sdf.c:2947:4,
inlined from ‘rd_iopath’ at v_sdf.c:2540:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 4107) into a destination of size 4097
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
v_sdf.c: In function ‘rd_iopath’:
v_sdf.c:2570:52: warning: ‘%s’ directive writing up to 4096 bytes into a region of size 4088 [-Wformat-overflow=]
2540 | if ((plhd = bld_match_spcpth(ctmdp, portsrc, si1, si2, eval, portdst,
| ~~~~~~~
......
2570 | else if (eval == E_POSEDGE) sprintf(s3, "(posedge %s%s)", psrcnam, s1);
| ^~
In function ‘sprintf’,
inlined from ‘msg_sdfpath_tostr’ at v_sdf.c:2570:30,
inlined from ‘bld_match_spcpth’ at v_sdf.c:2947:4,
inlined from ‘rd_iopath’ at v_sdf.c:2540:14: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output 11 or more bytes (assuming 4107) into a destination of size 4097
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I../pli_incs -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I../pli_incs -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection-c -o cver-v_ms.o `test -f 'v_ms.c' || echo './'`v_ms.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -I../pli_incs -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection-c -o cver-v_tf.o `test -f 'v_tf.c' || echo './'`v_tf.c
v_tf.c: In function ‘tf_getp’:
v_tf.c:1637:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1637 | rv = (int32) chp;
| ^
v_tf.c: In function ‘tf_getlongp’:
v_tf.c:1723:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1723 | rv = (int32) chp;
| ^
cc1: some warnings being treated as errors
make[3]: *** [Makefile:725: cver-v_dbg.o] Error 1
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 07:16:55 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,106 |