|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Compile Problem with qemu -sockets
Hello,
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
reply:
when you configure tools, use the flag below to pass configure args to qemuu:
./configure --with-extra-qemuu-configure-args="--extra-cflags=\"
-DHAVE_FSXATTR=1 -Wno-stringop-truncation \""
After you call configure you can see the result in
config/Tools.mk
So check there before you `make dist-tools`
cheers,
PryMar56
##xen-packaging on Freenode IRC
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |