[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 01/10] capstone: Convert Makefile bits to meson bits
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v3 01/10] capstone: Convert Makefile bits to meson bits |
Date: |
Mon, 21 Sep 2020 15:12:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 21/09/20 12:54, Alex Bennée wrote:
> Something is breaking when switching to a branch with this on from
> current master:
>
> Linking target qemu-hppa
> /usr/bin/ld: libcommon.fa.p/disas_alpha.c.o: in function `print_insn_alpha':
> /home/alex/lsrc/qemu.git/builds/all/../../disas/alpha.c:1818: undefined
> reference to `bfd_getl32'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile.ninja:5965: qemu-alpha] Error 1
> make: *** Waiting for unfinished jobs....
> /usr/bin/ld: libcommon.fa.p/disas_hppa.c.o: in function `print_insn_hppa':
> /home/alex/lsrc/qemu.git/builds/all/../../disas/hppa.c:1969: undefined
> reference to `bfd_getb32'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile.ninja:6259: qemu-hppa] Error 1
>From "https://wiki.qemu.org/Features/Meson":
Known issues
============
There is one Make issue that might happen when switching branches: if
the command line changes, the files are not rebuilt. This is always a
problem with Make, but it may become more common now due to the use of
statically-linked libraries.
The simplest fix here would be to use ninja to build QEMU, i.e. do the
main QEMU build recursively just like we do for submodules, keeping Make
purely to orchestrate the build.
Paolo
[PATCH v3 03/10] disas: Move host asm annotations to tb_gen_code, Richard Henderson, 2020/09/17
[PATCH v3 05/10] disas: Use qemu/bswap.h for bfd endian loads, Richard Henderson, 2020/09/17
[PATCH v3 06/10] disas: Cleanup plugin_disas, Richard Henderson, 2020/09/17
[PATCH v3 04/10] disas: Clean up CPUDebug initialization, Richard Henderson, 2020/09/17
[PATCH v3 09/10] disas: Enable capstone disassembly for s390x, Richard Henderson, 2020/09/17
[PATCH v3 07/10] disas: Configure capstone for aarch64 host without libvixl, Richard Henderson, 2020/09/17
[PATCH v3 10/10] disas/capstone: Add skipdata hook for s390x, Richard Henderson, 2020/09/17
[PATCH v3 08/10] disas: Split out capstone code to disas/capstone.c, Richard Henderson, 2020/09/17