qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* FAILED: libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o
@ 2022-10-10  6:18 Dennis Clarke
  2022-10-10  7:13 ` Thomas Huth
  0 siblings, 1 reply; 4+ messages in thread
From: Dennis Clarke @ 2022-10-10  6:18 UTC (permalink / raw)
  To: qemu-devel


On FreeBSD 14.0 CURRENT amd64 everything seems to go swimmingly until :

[5679/6848] Compiling C object libqemu-arm-bsd-user.fa.p/bsd-user_mmap.c.o
[5680/6848] Compiling C object libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o
FAILED: libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o
/usr/bin/cc -m64 -mcx16 -Ilibqemu-arm-bsd-user.fa.p -I. -I.. 
-Itarget/arm -I../target/arm -I../common-user/host/x86_64 
-I../bsd-user/include -Ibsd-user/freebsd -I../bsd-user/freebsd 
-I../bsd-user/host/x86_64 -Ibsd-user -I../bsd-user -I../bsd-user/arm 
-Iqapi -Itrace -Iui -Iui/shader -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-fcolor-diagnostics -Wall -Winvalid-pch -std=gnu11 -O0 -g -iquote . 
-iquote /opt/bw/build/qemu -iquote /opt/bw/build/qemu/include -iquote 
/opt/bw/build/qemu/tcg/i386 -pthread -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 -Wold-style-definition 
-Wtype-limits -Wformat-security -Wformat-y2k -Winit-self 
-Wignored-qualifiers -Wempty-body -Wnested-externs -Wendif-labels 
-Wexpansion-to-defined -Wno-initializer-overrides 
-Wno-missing-include-dirs -Wno-shift-negative-value -Wno-string-plus-int 
-Wno-typedef-redefinition -Wno-tautological-type-limit-compare 
-Wno-psabi -Wno-gnu-variable-sized-type-not-at-end 
-fstack-protector-strong -m64 -g -O0 -fno-builtin -fPIE -DNEED_CPU_H 
'-DCONFIG_TARGET="arm-bsd-user-config-target.h"' 
'-DCONFIG_DEVICES="arm-bsd-user-config-devices.h"' -MD -MQ 
libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o -MF 
libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o.d -o 
libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o -c ../bsd-user/signal.c
In file included from ../bsd-user/signal.c:27:
In file included from ../bsd-user/host/x86_64/host-signal.h:14:
In file included from /usr/include/vm/pmap.h:92:
/usr/include/machine/pmap.h:452:2: error: fields must have a constant 
size: 'variable length array in structure' extension will never be supported
         PV_CHUNK_HEADER
         ^
/usr/include/machine/pmap.h:448:12: note: expanded from macro 
'PV_CHUNK_HEADER'
         uint64_t                pc_map[_NPCM];  /* bitmap; 1 = free */  \
                                 ^
/usr/include/machine/pmap.h:456:2: error: fields must have a constant 
size: 'variable length array in structure' extension will never be supported
         PV_CHUNK_HEADER
         ^
/usr/include/machine/pmap.h:448:12: note: expanded from macro 
'PV_CHUNK_HEADER'
         uint64_t                pc_map[_NPCM];  /* bitmap; 1 = free */  \
                                 ^
2 errors generated.
ninja: build stopped: subcommand failed.
gmake[1]: *** [Makefile:165: run-ninja] Error 1
gmake[1]: Leaving directory '/opt/bw/build/qemu/build'
gmake: *** [GNUmakefile:11: all] Error 2

phobos#

Is there a trivial patch ?  Or perhaps try again using GCC and not 
LLVM/Clang?


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-13  5:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10  6:18 FAILED: libqemu-arm-bsd-user.fa.p/bsd-user_signal.c.o Dennis Clarke
2022-10-10  7:13 ` Thomas Huth
2022-10-10 17:01   ` Warner Losh
2022-10-13  5:10     ` Warner Losh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).