On 07/14/2017 06:02 AM, Paolo Bonzini wrote:
From: "Philippe Mathieu-Daudé" <f4...@amsat.org>
To: "Paolo Bonzini" <pbonz...@redhat.com>, qemu-devel@nongnu.org
Cc: "Anthony Liguori" <aligu...@us.ibm.com>
Sent: Friday, July 14, 2017 7:24:29 AM
Subject: Re: [Qemu-devel] [PULL 24/42] configure: add --disable-tcg configure 
option

Hi Paolo,

trying "./configure --disable-docs --disable-tcg" I get:

    CC      x86_64-softmmu/exec.o
qemu/exec.c: In function ‘breakpoint_invalidate’:
qemu/exec.c:797:9: error: implicit declaration of function
‘tb_invalidate_phys_addr’ [-Werror=implicit-function-declaration]
           tb_invalidate_phys_addr(cpu->cpu_ases[asidx].as,
           ^~~~~~~~~~~~~~~~~~~~~~~
qemu/exec.c:797:9: error: nested extern declaration of
‘tb_invalidate_phys_addr’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
qemu/rules.mak:66: recipe for target 'exec.o' failed
make[1]: *** [exec.o] Error 1
Makefile:328: recipe for target 'subdir-x86_64-softmmu' failed
make: *** [subdir-x86_64-softmmu] Error 2

due to include/exec/exec-all.h:

#if !defined(CONFIG_USER_ONLY) && defined(CONFIG_TCG)
void tb_invalidate_phys_addr(AddressSpace *as, hwaddr addr);
#else

This is introduced by Pranith's patch.  I will respin my pull request.

Paolo

I pulled master with your PR merged and it now compiles fine, thank you.

Reply via email to