Mailing List Archive

fresh compile of latest RELEASE 4.16
[593/2436] Compiling C object libqemuutil.a.p/util_qemu-thread-posix.c.o
FAILED: libqemuutil.a.p/util_qemu-thread-posix.c.o
cc -Ilibqemuutil.a.p -I. -I../qemu-xen-dir-remote -Isubprojects/libvhost-user -I../qemu-xen-dir-remote/subprojects/libvhost-user -Itrace -Iqapi -Iui -Iui/shader -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/p11-kit-1 -I/usr/include/pixman-1 -fdiagnostics-color=auto -pipe -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -isystem /home/adminjs/xen/tools/qemu-xen-dir-remote/linux-headers -isystem linux-headers -iquote . -iquote /home/adminjs/xen/tools/qemu-xen-dir-remote -iquote /home/adminjs/xen/tools/qemu-xen-dir-remote/include -iquote /home/adminjs/xen/tools/qemu-xen-dir-remote/disas/libvixl -iquote /home/adminjs/xen/tools/qemu-xen-dir-remote/tcg/i386 -pthread -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -m64 -mcx16 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -DXC_WANT_COMPAT_EVTCHN_API=1 -DXC_WANT_COMPAT_GNTTAB_API=1 -DXC_WANT_COMPAT_MAP_FOREIGN_API=1 -DXC_WANT_COMPAT_DEVICEMODEL_API=1 -Wold-style-declaration -Wold-style-definition -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels -Wexpansion-to-defined -Wimplicit-fallthrough=2 -Wno-missing-include-dirs -Wno-shift-negative-value -Wno-psabi -fstack-protector-strong -fPIC -MD -MQ libqemuutil.a.p/util_qemu-thread-posix.c.o -MF libqemuutil.a.p/util_qemu-thread-posix.c.o.d -o libqemuutil.a.p/util_qemu-thread-posix.c.o -c ../qemu-xen-dir-remote/util/qemu-thread-posix.c
In file included from /usr/include/glib-2.0/glib/deprecated/gthread.h:124,
from /usr/include/glib-2.0/glib.h:112,
from /home/adminjs/xen/tools/qemu-xen-dir-remote/include/glib-compat.h:32,
from /home/adminjs/xen/tools/qemu-xen-dir-remote/include/qemu/osdep.h:132,
from ../qemu-xen-dir-remote/util/qemu-thread-posix.c:13:
../qemu-xen-dir-remote/util/qemu-thread-posix.c: In function ‘qemu_thread_start’:
../qemu-xen-dir-remote/util/qemu-thread-posix.c:540:5: error: ‘__sigsetjmp’ accessing 200 bytes in a region of size 72 [-Werror=stringop-overflow=]
540 | pthread_cleanup_push(qemu_thread_atexit_notify, NULL);
| ^~~~~~~~~~~~~~~~~~~~
../qemu-xen-dir-remote/util/qemu-thread-posix.c:540:5: note: referencing argument 1 of type ‘struct __jmp_buf_tag *’
/usr/include/pthread.h:734:12: note: in a call to function ‘__sigsetjmp’
734 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL;
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[594/2436] Compiling C object libqemuutil.a.p/util_transactions.c.o
[595/2436] Compiling C object libqemuutil.a.p/qapi_string-output-visitor.c.o
[596/2436] Compiling C object libqemu-i386-softmmu.fa.p/target_i386_tcg_translate.c.o
ninja: build stopped: subcommand failed.
make: *** [Makefile:156: run-ninja] Error 1
make: Leaving directory '/home/adminjs/xen/tools/qemu-xen-build'
make[3]: *** [Makefile:212: subdir-all-qemu-xen-dir] Error 2
make[3]: Leaving directory '/home/adminjs/xen/tools'
make[2]: *** [/home/adminjs/xen/tools/../tools/Rules.mk:161: subdirs-install] Error 2
make[2]: Leaving directory '/home/adminjs/xen/tools'
make[1]: *** [Makefile:66: install] Error 2
make[1]: Leaving directory '/home/adminjs/xen/tools'
make: *** [Makefile:140: install-tools] Error 2




host : xen
release : 5.14.0-4-amd64
version : #1 SMP Debian 5.14.16-1 (2021-11-03)
machine : x86_64
nr_cpus : 4
max_cpu_id : 3
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 2
cpu_mhz : 2306.798
hw_caps : bfebfbff:77bae3ff:28100800:00000001:00000001:00000281:00000000:00000100
virt_caps : pv pv_directio shadow
total_memory : 32711
free_memory : 50
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 15
xen_extra : .1
xen_version : 4.15.1
xen_caps : xen-3.0-x86_64
xen_scheduler : credit2
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Fri Sep 10 09:03:24 2021 +0200 git:84fa99099b
xen_commandline : placeholder sched=credit2
cc_compiler : gcc (Debian 10.3.0-11) 10.3.0
cc_compile_by : adminjs
cc_compile_domain : homelinux.net
cc_compile_date : Fri Oct 1 17:05:47 BST 2021
build_id : f791a9b9747ac5630f01fdcd3797f58e8cffecb3
xend_config_format : 4




can't overcome this as i know nothing about ninja

HELP
Sent with ProtonMail Secure Email.