[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Compile Problem with qemu -sockets



Hi guys i try to install the laest stable tag  RELEASE-4.12.1 and always run 
into this error !!!

can i disable or work around it ?

Thanks


In file included from /usr/include/string.h:494,
                 from 
/home/adminjs/xen/tools/qemu-xen-dir/include/qemu/osdep.h:84,
                 from 
/home/adminjs/xen/tools/qemu-xen-dir/util/qemu-sockets.c:18:
In function 'strncpy',
    inlined from 'unix_connect_saddr.isra.0' at 
/home/adminjs/xen/tools/qemu-xen-dir/util/qemu-sockets.c:925:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: 
'__builtin_strncpy' specified bound 108 equals destination size 
[-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'strncpy',
    inlined from 'unix_listen_saddr.isra.0' at 
/home/adminjs/xen/tools/qemu-xen-dir/util/qemu-sockets.c:880:5:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: 
'__builtin_strncpy' specified bound 108 equals destination size 
[-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [/home/adminjs/xen/tools/qemu-xen-dir/rules.mak:69: 
util/qemu-sockets.o] Error 1
make: Leaving directory '/home/adminjs/xen/tools/qemu-xen-build'
make[3]: *** [Makefile:220: subdir-all-qemu-xen-dir] Error 2
make[3]: Leaving directory '/home/adminjs/xen/tools'
make[2]: *** [/home/adminjs/xen/tools/../tools/Rules.mk:246: subdirs-install] 
Error 2
make[2]: Leaving directory '/home/adminjs/xen/tools'
make[1]: *** [Makefile:74: install] Error 2
make[1]: Leaving directory '/home/adminjs/xen/tools'
make: *** [Makefile:127: install-tools] Error 2



Sent with ProtonMail Secure Email.

Attachment: publickey - ba1020@protonmail.ch - 0x949AA924.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.