qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 00/43] fix building of tests/tcg


From: Emilio G. Cota
Subject: Re: [Qemu-devel] [PATCH v2 00/43] fix building of tests/tcg
Date: Fri, 20 Apr 2018 15:05:09 -0400
User-agent: Mutt/1.5.24 (2015-08-30)

On Fri, Apr 20, 2018 at 07:42:14 +0100, Alex Bennée wrote:
> 
> Richard Henderson <address@hidden> writes:
(snip)
> >> Finally the end of the series has me adding Emilio's fp-test to the
> >> per-target builds. Unfortunately although some osdep.h and softfloat.c
> >> fiddling allows us to build in most cases I still can't build for
> >> example an i386 fp-test on an x86_64 host using the cross compiler as
> >> it triggers incompatibilities with config-host.h - in this case Int128
> >> support. Currently I just hackily disable fp-test for non-64 bit
> >> platforms.
> >
> > It seems I can't even build fp-test for x86_64.
> >
> >   CROSS-BUILD x86_64 guest-tests with cc
> > In file included from /home/rth/work/qemu/qemu/tests/fp/fp-test.c:14:0:
> > /home/rth/work/qemu/qemu/include/qemu/osdep.h:30:10: fatal error:
> > config-host.h: No such file or directory
> >  #include "config-host.h"
> >           ^~~~~~~~~~~~~~~
> > compilation terminated.
> 
> Weird as that works for me. Has configure been run? Are you in a
> external build dir?

config-host.h is generated when running "make" (to build whatever
targets were configured), so the recipe in tests/fp expects that
to have happened. I think this is commonly expected when building
tests/, but if I'm mistaken we could fix it by adding a rule
for config-host.h as a prerequisite.

                E.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]