Re: [PATCH 0/9] user-mode: Prune build dependencies (part 2)
Patchew URL: https://patchew.org/QEMU/20200313184153.11275-1-phi...@redhat.com/ Hi, This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/bin/bash make docker-image-centos7 V=1 NETWORK=1 time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END === LINKvhost-user-input qapi/qapi-commands-char.o: In function `qmp_marshal_add_client': /tmp/qemu-test/build/qapi/qapi-commands-char.c:404: undefined reference to `qmp_add_client' collect2: error: ld returned 1 exit status make: *** [qemu-storage-daemon] Error 1 make: *** Waiting for unfinished jobs GEN x86_64-softmmu/config-target.h GEN x86_64-softmmu/hmp-commands.h --- raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=79fd3dced38c4a66beb52a21af5ece9a', '-u', '1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-eu33v9p1/src/docker-src.2020-03-13-17.16.06.18800:/var/tmp/qemu:z,ro', 'qemu:centos7', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=79fd3dced38c4a66beb52a21af5ece9a make[1]: *** [docker-run] Error 1 make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-eu33v9p1/src' make: *** [docker-run-test-quick@centos7] Error 2 real3m28.886s user0m8.592s The full log is available at http://patchew.org/logs/20200313184153.11275-1-phi...@redhat.com/testing.docker-quick@centos7/?type=message. --- Email generated automatically by Patchew [https://patchew.org/]. Please send your feedback to patchew-de...@redhat.com
Re: [PATCH 0/9] user-mode: Prune build dependencies (part 2)
Patchew URL: https://patchew.org/QEMU/20200313184153.11275-1-phi...@redhat.com/ Hi, This series failed the asan build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. === TEST SCRIPT BEGIN === #!/bin/bash export ARCH=x86_64 make docker-image-fedora V=1 NETWORK=1 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 === TEST SCRIPT END === LINKqemu-img /usr/bin/ld: qapi/qapi-commands-char.o: in function `qmp_marshal_add_client': /tmp/qemu-test/build/qapi/qapi-commands-char.c:404: undefined reference to `qmp_add_client' clang-8: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [/tmp/qemu-test/src/rules.mak:124: qemu-storage-daemon] Error 1 make: *** Waiting for unfinished jobs Traceback (most recent call last): File "./tests/docker/docker.py", line 664, in --- raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=51e14086532c419b93bbc70aaa6062a4', '-u', '1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=x86_64-softmmu', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-_4qqozfd/src/docker-src.2020-03-13-17.10.10.8098:/var/tmp/qemu:z,ro', 'qemu:fedora', '/var/tmp/qemu/run', 'test-debug']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=51e14086532c419b93bbc70aaa6062a4 make[1]: *** [docker-run] Error 1 make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-_4qqozfd/src' make: *** [docker-run-test-debug@fedora] Error 2 real4m17.682s user0m8.190s The full log is available at http://patchew.org/logs/20200313184153.11275-1-phi...@redhat.com/testing.asan/?type=message. --- Email generated automatically by Patchew [https://patchew.org/]. Please send your feedback to patchew-de...@redhat.com
[PATCH 0/9] user-mode: Prune build dependencies (part 2)
This is the second part of a series reducing user-mode dependencies. By stripping out unused code, the build and testing time is reduced (as is space used by objects). Part 2: - Extract code not related to user-mode from qapi/misc.json Based-on: <20200313183652.10258-1-phi...@redhat.com> Philippe Mathieu-Daudé (9): target/i386: Restrict X86CPUFeatureWord to X86 targets qapi/misc: Move add_client command with chardev code qapi/misc: Restrict LostTickPolicy enum to machine code qapi/misc: Restrict balloon-related commands to machine code qapi/misc: Move query-uuid command with block code qapi/misc: Restrict query-vm-generation-id command to machine code qapi/misc: Restrict ACPI commands to machine code qapi/misc: Restrict PCI commands to machine code qapi/misc: Restrict device memory commands to machine code qapi/block-core.json | 30 + qapi/char.json | 32 ++ qapi/machine-target.json | 45 ++ qapi/machine.json| 766 -- qapi/misc.json | 788 --- include/hw/acpi/acpi_dev_interface.h | 2 +- include/hw/mem/memory-device.h | 1 + include/hw/rtc/mc146818rtc.h | 2 +- include/hw/virtio/virtio-pmem.h | 2 +- include/sysemu/balloon.h | 2 +- balloon.c| 2 +- block/iscsi.c| 2 +- hw/acpi/core.c | 2 +- hw/acpi/cpu.c| 2 +- hw/acpi/memory_hotplug.c | 2 +- hw/acpi/vmgenid.c| 2 +- hw/core/qdev-properties.c| 1 + hw/i386/kvm/i8254.c | 2 +- hw/pci/pci-stub.c| 2 +- hw/pci/pci.c | 2 +- hw/virtio/virtio-balloon.c | 2 +- monitor/hmp-cmds.c | 1 + monitor/qmp-cmds.c | 1 + stubs/uuid.c | 2 +- stubs/vmgenid.c | 2 +- target/i386/cpu.c| 2 +- target/i386/machine-stub.c | 22 + target/i386/Makefile.objs| 3 +- 28 files changed, 876 insertions(+), 848 deletions(-) create mode 100644 target/i386/machine-stub.c -- 2.21.1