Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. CC migration/exec.o
  2. /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c: In function ‘usb_xhci_realize’:
  3. /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3340:66: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Werror=format-truncation=]
  4. snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
  5. ^~
  6. /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3340:54: note: directive argument in the range [-2147483647, 30]
  7. snprintf(port->name, sizeof(port->name), "usb2 port #%d", i+1);
  8. ^~~~~~~~~~~~~~~
  9. In file included from /usr/include/stdio.h:862:0,
  10. from /main/personal/work/virtio-fs/qemu/include/qemu/osdep.h:99,
  11. from /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:21:
  12. /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 13 and 23 bytes into a destination of size 16
  13. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  14. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. __bos (__s), __fmt, __va_arg_pack ());
  16. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  17. /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3354:66: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Werror=format-truncation=]
  18. snprintf(port->name, sizeof(port->name), "usb3 port #%d", i+1);
  19. ^~
  20. /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:3354:54: note: directive argument in the range [-2147483647, 30]
  21. snprintf(port->name, sizeof(port->name), "usb3 port #%d", i+1);
  22. ^~~~~~~~~~~~~~~
  23. In file included from /usr/include/stdio.h:862:0,
  24. from /main/personal/work/virtio-fs/qemu/include/qemu/osdep.h:99,
  25. from /main/personal/work/virtio-fs/qemu/hw/usb/hcd-xhci.c:21:
  26. /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 13 and 23 bytes into a destination of size 16
  27. return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
  28. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  29. __bos (__s), __fmt, __va_arg_pack ());
  30. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31. CC migration/tls.o
  32. CC migration/channel.o
  33. CC migration/savevm.o
  34. CC migration/colo.o
  35. CC migration/colo-failover.o
  36. CC migration/vmstate.o
  37. CC migration/vmstate-types.o
  38. CC migration/page_cache.o
  39. CC migration/qemu-file.o
  40. CC migration/global_state.o
  41. cc1: all warnings being treated as errors
  42. /main/personal/work/virtio-fs/qemu/rules.mak:69: recipe for target 'hw/usb/hcd-xhci.o' failed
  43. make: *** [hw/usb/hcd-xhci.o] Error 1
  44. make: *** Waiting for unfinished jobs....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement