[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] trace: Harmless looking build noise on F28
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] trace: Harmless looking build noise on F28 |
Date: |
Thu, 21 Mar 2019 07:40:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
(1) I've gotten this one for a while:
/work/armbru/qemu/trace/ftrace.c: In function ‘ftrace_init’:
/work/armbru/qemu/trace/ftrace.c:56:37: warning: ‘%s’ directive output may
be truncated writing up to 8 bytes into a region of size between 1 and 4096
[-Wformat-truncation=]
snprintf(path, PATH_MAX, "%s%s/tracing_on", mount_point, subdir);
^~
In file included from /usr/include/stdio.h:862,
from /work/armbru/qemu/include/qemu/osdep.h:99,
from /work/armbru/qemu/trace/ftrace.c:12:
/usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output
between 12 and 4115 bytes into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/work/armbru/qemu/trace/ftrace.c:75:37: warning: ‘%s’ directive output may
be truncated writing up to 8 bytes into a region of size between 1 and 4096
[-Wformat-truncation=]
snprintf(path, PATH_MAX, "%s%s/trace_marker", mount_point, subdir);
^~
In file included from /usr/include/stdio.h:862,
from /work/armbru/qemu/include/qemu/osdep.h:99,
from /work/armbru/qemu/trace/ftrace.c:12:
/usr/include/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output
between 14 and 4117 bytes into a destination of size 4096
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(2) I just spotted this one, no idea for how long I've missed it:
Warning: /usr/bin/dtrace:target/hppa/trace-dtrace.dtrace:2 syntax error
near:
provider qemu {
Warning: Proceeding as if --no-pyparsing was given.
- [Qemu-devel] trace: Harmless looking build noise on F28,
Markus Armbruster <=