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: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2 00/43] fix building of tests/tcg
Date: Thu, 19 Apr 2018 14:12:56 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 04/19/2018 03:58 AM, Alex Bennée wrote:
> I did start playing with crosstool-ng and Linaro's own ABE scripts but
> realised this could end up a massive time sync. What would be really
> helpful is if the respective maintainers could encode their EXACT
> STEPS for building their cross compilers into some docker recipes.

Building a cross-compiler with an existing libc binary is easy.
Building a cross-compiler without a libc is harder, and involves
a bit of two-stepping to get things right.

For someone who has never used docker, what's a recipe look like?
Just a shell script that gets run within a container?
Is there an opportunity to wget or local copy an existing libc
tarball/package to put us into the easy case?

> 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.


r~



reply via email to

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