[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig |
Date: |
Mon, 4 Feb 2019 15:45:57 +0000 |
User-agent: |
Mutt/1.11.2 (2019-01-07) |
On Thu, Jan 31, 2019 at 10:48:50PM +0100, Philippe Mathieu-Daudé wrote:
> I cc'ed the Xen team, it would be nice if one of them also tests this.
I've tested the series, and here is the first issue:
CC hw/9pfs/xen-9p-backend.o
LINK i386-softmmu/qemu-system-i386
/usr/bin/ld: ../hw/xen/xen-legacy-backend.o: in function
`xen_be_register_common':
xen-legacy-backend.c:(.text+0x1cb6): undefined reference to `xen_9pfs_ops'
The `struct xen_9pfs_ops` is in "xen-9p-backend", so it's built, but
link time still fails.
Building QEMU with --disable-virtfs works. (Same as commenting out the
line that uses xen_9pfs_ops in xen-legacy-backend.) Part of the other
options I have for configure: --enable-xen --target-list=i386-softmmu
--disable-user --cpu=x86_64
I did also other build tests and one without --target-list, and that
fails, but not because of xen:
$ ./configure --enable-xen
...
$ make
...
GEN aarch64-softmmu/config-devices.mak.tmp
GEN alpha-softmmu/config-devices.mak.tmp
GEN arm-softmmu/config-devices.mak.tmp
GEN cris-softmmu/config-devices.mak.tmp
GEN hppa-softmmu/config-devices.mak.tmp
GEN i386-softmmu/config-devices.mak.tmp
GEN lm32-softmmu/config-devices.mak.tmp
GEN m68k-softmmu/config-devices.mak.tmp
GEN microblaze-softmmu/config-devices.mak.tmp
undefined symbol ARMSSE_CPUID
undefined symbol ARMSSE
Traceback (most recent call last):
File "/var/tmp/qemu.rjWNchMAI4/qemu/scripts/minikconf.py", line 680, in
<module>
config = data.compute_config()
File "/var/tmp/qemu.rjWNchMAI4/qemu/scripts/minikconf.py", line 214, in
compute_config
raise Exception(parser, "there were undefined symbols")
Exception: (<__main__.KconfigParser instance at 0x7f635c24e200>, 'there were
undefined symbols')
undefined symbol ARMSSE_CPUID
undefined symbol ARMSSE
Traceback (most recent call last):
File "/var/tmp/qemu.rjWNchMAI4/qemu/scripts/minikconf.py", line 680, in
<module>
config = data.compute_config()
File "/var/tmp/qemu.rjWNchMAI4/qemu/scripts/minikconf.py", line 214, in
compute_config
raise Exception(parser, "there were undefined symbols")
Exception: (<__main__.KconfigParser instance at 0x7fd4d2374248>, 'there were
undefined symbols')
...
make: *** No rule to make target 'aarch64-softmmu/config-devices.mak', needed
by 'config-all-devices.mak'. Stop.
make: *** Waiting for unfinished jobs....
Cheers,
--
Anthony PERARD